diff --git a/indra/newview/fsslurl.cpp b/indra/newview/fsslurl.cpp
index c093739b38..dbd9b52cc4 100644
--- a/indra/newview/fsslurl.cpp
+++ b/indra/newview/fsslurl.cpp
@@ -144,6 +144,7 @@ LLSLURL::LLSLURL(const std::string& slurl)
// default to current
std::string default_grid = LLGridManager::getInstance()->getGrid();
mGrid = default_grid;
+ LL_DEBUGS("SLURL") << "default grid: " << default_grid << LL_ENDL;
if(slurl_uri.scheme() == LLSLURL::SLURL_SECONDLIFE_SCHEME)
{
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 53a1f4549a..e69198907b 100755
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -3125,11 +3125,14 @@ bool LLAppViewer::initConfiguration()
if(! CmdLineLoginLocation.empty())
{
start_slurl = CmdLineLoginLocation;
- LLStartUp::setStartSLURL(start_slurl);
- if(start_slurl.getType() == LLSLURL::LOCATION)
- {
- LLGridManager::getInstance()->setGridChoice(start_slurl.getGrid());
- }
+ // FIRE-11586: Restore grid manager workaround (grid is still empty here!)
+ //LLStartUp::setStartSLURL(start_slurl);
+ //if(start_slurl.getType() == LLSLURL::LOCATION)
+ //{
+ // LLGridManager::getInstance()->setGridChoice(start_slurl.getGrid());
+ // }
+ LLStartUp::setStartSLURLString(CmdLineLoginLocation);
+ //
}
// Hacking to save the skin and theme for future use.