From d9cf4691a7369004a1ceeb11ca8d3262648c05e7 Mon Sep 17 00:00:00 2001 From: Paul ProductEngine Date: Fri, 18 May 2012 21:01:10 +0300 Subject: MAINT-938 ADDITIONAL FIX (Make debit-permissions dialog give a stronger warning) - Requested permissions are added dynamically to the dialog's footer - And the footer is not shown when it is empty --- indra/llui/llnotifications.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'indra/llui') diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp index 1dc657f915..09480968a6 100644 --- a/indra/llui/llnotifications.cpp +++ b/indra/llui/llnotifications.cpp @@ -876,8 +876,9 @@ std::string LLNotification::getFooter() const if (!mTemplatep) return std::string(); - std::string message = mTemplatep->mFooter; - return message; + std::string footer = mTemplatep->mFooter; + LLStringUtil::format(footer, mSubstitutions); + return footer; } std::string LLNotification::getLabel() const -- cgit v1.2.3