Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mennodekker committed Jan 24, 2013
2 parents 0118e87 + 203355d commit 05e6f0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/helpers/expressions/em_manager_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ public static function SetSurveyId($sid=NULL)
if (!is_null($sid)) {
if (isset($_SESSION['LEMsid']) && $sid != $_SESSION['LEMsid']) {
// then trying to use a new survey - so clear the LEM cache
$_SESSION['LEMdirtyFlag'] = true;
self::SetDirtyFlag();
}
$_SESSION['LEMsid'] = $sid;
}
Expand All @@ -724,7 +724,7 @@ public static function SetEMLanguage($lang=NULL)
}
if ($_SESSION['LEMlang'] != $lang) {
// then changing languages, so clear cache
$_SESSION['LEMdirtyFlag'] = true;
self::SetDirtyFlag();
}
$_SESSION['LEMlang'] = $lang;
}
Expand Down

0 comments on commit 05e6f0c

Please sign in to comment.