diff --git a/indra/newview/llexperiencelog.cpp b/indra/newview/llexperiencelog.cpp index daef91eb6641219ded617edbc6e98053a7b28bcc..0a365d0c38dcdfbd06f6c12c336ee4d928d4f289 100644 --- a/indra/newview/llexperiencelog.cpp +++ b/indra/newview/llexperiencelog.cpp @@ -244,6 +244,9 @@ void LLExperienceLog::eraseExpired() bool LLExperienceLog::isExpired(const std::string& date) { + if (date.empty()) + return true; + S32 month, day, year = 0; S32 matched = sscanf(date.c_str(), "%d-%d-%d", &year, &month, &day); if (matched != 3) return false;