From 3abc778f2cf0fb8a6a0f46b742fa4e96bf9cace0 Mon Sep 17 00:00:00 2001 From: Siana Gearz Date: Sun, 15 May 2011 20:19:26 +0200 Subject: [PATCH] Empty splash page workaround --- indra/newview/llpanellogin.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 7d7d65a35..0f1873505 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -911,8 +911,10 @@ void LLPanelLogin::loadLoginPage() std::string version = llformat("%d.%d.%d (%d)", LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, LL_VERSION_BUILD); - oStr << "&channel=" << LLWeb::curlEscape(LL_CHANNEL); - oStr << "&version=" << LLWeb::curlEscape(version); + if(login_page.find("secondlife.com") == -1) { + oStr << "&channel=" << LLWeb::curlEscape(LL_CHANNEL); + oStr << "&version=" << LLWeb::curlEscape(version); + } // Grid oStr << "&grid=" << LLWeb::curlEscape(LLViewerLogin::getInstance()->getGridLabel());