diff --git a/indra/newview/alsquirrelupdater.cpp b/indra/newview/alsquirrelupdater.cpp index c163312ae923bc8395bb1b6fd7d389482e492e18..604556a4c56e9342e4db8e04bcb3b53f4f7a379a 100644 --- a/indra/newview/alsquirrelupdater.cpp +++ b/indra/newview/alsquirrelupdater.cpp @@ -456,7 +456,7 @@ void ALUpdateHandler::restartToNewVersion() void ALUpdateHandler::updateCheckFinished(const LLSD& data) { - if (data.emptyMap()) return; + if (!data.isMap() || data.size() == 0) return; ALVersionInfo cur_ver(LLVersionInfo::instance().getMajor(), LLVersionInfo::instance().getMinor(), LLVersionInfo::instance().getPatch()); ALVersionInfo new_ver; if (data.has("futureVersion")) new_ver.parse(data["futureVersion"].asString());