From 9aeae2a87e79a8e612fa052a5db2866489cb6fae Mon Sep 17 00:00:00 2001
From: Todd Stinson <stinson@lindenlab.com>
Date: Tue, 5 Jun 2012 11:53:53 -0700
Subject: [PATCH] EXP-1942: BUGFIX Ensuring to clear the flag indicating that
 maturity changed during teleport when the maturity level change fails.

---
 indra/newview/llagent.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 12d0de03472..17675222553 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);
-- 
GitLab