summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llfacebookconnect.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llfacebookconnect.cpp b/indra/newview/llfacebookconnect.cpp
index 9c70757278..611d18d6d6 100644
--- a/indra/newview/llfacebookconnect.cpp
+++ b/indra/newview/llfacebookconnect.cpp
@@ -356,9 +356,9 @@ void LLFacebookConnect::openFacebookWeb(std::string url)
std::string LLFacebookConnect::getFacebookConnectURL(const std::string& route, bool include_read_from_master)
{
- static std::string sFacebookConnectUrl = gAgent.getRegion()->getCapability("FacebookConnect");
-
- std::string url = sFacebookConnectUrl + route;
+ std::string url = gAgent.getRegion()->getCapability("FacebookConnect");
+ url += route;
+
if (include_read_from_master && mReadFromMaster)
{
url += "?read_from_master=true";