Skip to content

Commit

Permalink
Fixed issue : question help text are not updated if update lang by ur…
Browse files Browse the repository at this point in the history
…l param
  • Loading branch information
Shnoulle committed Dec 5, 2014
1 parent 2bdb221 commit e4ebdb8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions application/helpers/expressions/em_manager_helper.php
Expand Up @@ -708,8 +708,8 @@ public static function SetPreviewMode($previewmode=false)
*/
public static function SetDirtyFlag()
{
$_SESSION['LEMdirtyFlag'] = true;
$_SESSION['LEMforceRefresh'] = true;
$_SESSION['LEMdirtyFlag'] = true;// For fieldmap and other. question help {HELP} is taken from fieldmap
$_SESSION['LEMforceRefresh'] = true;// For Expression manager string
}

/**
Expand Down Expand Up @@ -741,8 +741,7 @@ public static function SetEMLanguage($lang=NULL)
}
if ($_SESSION['LEMlang'] != $lang) {
// then changing languages, so clear cache
// self::SetDirtyFlag();
$_SESSION['LEMforceRefresh'] = true;// Force refresh but don't remove cache
self::SetDirtyFlag();
}
$_SESSION['LEMlang'] = $lang;
}
Expand Down

0 comments on commit e4ebdb8

Please sign in to comment.