aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelavatar.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:22 -0500
committerJacek Antonelli2008-08-15 23:45:22 -0500
commit1e8e051fafa147fc3375bf7693c781e3be17b6d4 (patch)
tree071633b1e27b13f52619ea60a58338bfab34538a /linden/indra/newview/llpanelavatar.cpp
parentSecond Life viewer sources 1.18.6.0-RC (diff)
downloadmeta-impy-1e8e051fafa147fc3375bf7693c781e3be17b6d4.zip
meta-impy-1e8e051fafa147fc3375bf7693c781e3be17b6d4.tar.gz
meta-impy-1e8e051fafa147fc3375bf7693c781e3be17b6d4.tar.bz2
meta-impy-1e8e051fafa147fc3375bf7693c781e3be17b6d4.tar.xz
Second Life viewer sources 1.18.6.1-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanelavatar.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/linden/indra/newview/llpanelavatar.cpp b/linden/indra/newview/llpanelavatar.cpp
index 5b43497..18b8462 100644
--- a/linden/indra/newview/llpanelavatar.cpp
+++ b/linden/indra/newview/llpanelavatar.cpp
@@ -1876,16 +1876,13 @@ void LLPanelAvatar::processAvatarPropertiesReply(LLMessageSystem *msg, void**)
1876 payment_text = "NoPaymentInfoOnFile"; 1876 payment_text = "NoPaymentInfoOnFile";
1877 } 1877 }
1878 args["[PAYMENTINFO]"] = self->mPanelSecondLife->childGetValue(payment_text).asString(); 1878 args["[PAYMENTINFO]"] = self->mPanelSecondLife->childGetValue(payment_text).asString();
1879 LLString age_text = "NotAgeVerified"; 1879 LLString age_text = age_verified ? "AgeVerified" : "NotAgeVerified";
1880 if(age_verified) 1880 args["[AGEVERIFICATION]"] = self->mPanelSecondLife->childGetValue(age_text).asString();
1881 {
1882 age_text = "AgeVerified";
1883 }
1884 args["[PAYMENTINFO]"] += self->mPanelSecondLife->childGetValue(age_text).asString();
1885 } 1881 }
1886 else 1882 else
1887 { 1883 {
1888 args["[PAYMENTINFO]"] = " "; 1884 args["[PAYMENTINFO]"] = " ";
1885 args["[AGEVERIFICATION]"] = " ";
1889 } 1886 }
1890 LLString::format(caption_text, args); 1887 LLString::format(caption_text, args);
1891 } 1888 }