diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp
index 7e9f4987a86bf53c588a77c0d6372eac5aff69ae..98e83ab248c5efbdc546da489fcc92d4e7239900 100755
--- a/indra/newview/llpanellogin.cpp
+++ b/indra/newview/llpanellogin.cpp
@@ -266,7 +266,7 @@ void LLPanelLogin::addFavoritesToStartLocation()
 		{
 			std::string label = (*iter1)["name"].asString();
 			std::string value = (*iter1)["slurl"].asString();
-			if(!label.empty() && !value.empty())
+			if (label != LLStringUtil::null && value != LLStringUtil::null)
 			{
 				combo->add(label, value);
 			}