summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerhelputil.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-01-15 13:36:33 -0800
committerLeyla Farazha <leyla@lindenlab.com>2010-01-15 13:36:33 -0800
commite761ba064a2b5960efdfc94bb5baef85a7ec1a0a (patch)
treede9970a791adf551b9cfa65a0013118d33c77554 /indra/newview/llviewerhelputil.cpp
parent56af8f1639a13adeb6f34e9988489aa5757a3184 (diff)
parent4c4c68a3408c85e49d365c31be93e006be612ab1 (diff)
Merge for EXT-1874, EXT-3800, EXT-4133
Diffstat (limited to 'indra/newview/llviewerhelputil.cpp')
-rw-r--r--indra/newview/llviewerhelputil.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewerhelputil.cpp b/indra/newview/llviewerhelputil.cpp
index 5ba4fc834c..ffc5761372 100644
--- a/indra/newview/llviewerhelputil.cpp
+++ b/indra/newview/llviewerhelputil.cpp
@@ -34,6 +34,7 @@
#include "llviewerprecompiledheaders.h"
#include "llviewerhelputil.h"
+#include "llagent.h"
#include "llsd.h"
#include "llstring.h"
#include "lluri.h"
@@ -63,6 +64,7 @@ std::string LLViewerHelpUtil::buildHelpURL( const std::string &topic)
{
LLSD substitution;
substitution["TOPIC"] = helpURLEncode(topic);
+ substitution["DEBUG_MODE"] = gAgent.isGodlike() ? "debug" : "";
// get the help URL and expand all of the substitutions
// (also adds things like [LANGUAGE], [VERSION], [OS], etc.)