diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 12d0de034722a7eca4876da50c33684caeab0560..17675222553d5cd1a272e8fed56f76ab7b5e3e45 100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -2692,6 +2692,7 @@ void LLAgent::reportPreferredMaturityError()
 	// If there is a pending teleport request waiting for the maturity preference to be synced with
 	// the server, we were unable to successfully sync with the server on maturity preference, so let's
 	// just raise the screen.
+	mIsMaturityRatingChangingDuringTeleport = false;
 	if (hasPendingTeleportRequest())
 	{
 		setTeleportState(LLAgent::TELEPORT_NONE);