Skip to content

Commit

Permalink
Fixed issue #7656: Can not use coreReplacements var in Relevance
Browse files Browse the repository at this point in the history
Dev: add an empty templatereplace in EM::StartSurvey()
  • Loading branch information
Shnoulle committed Mar 15, 2013
1 parent 4adc9cd commit 78a5d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/expressions/em_manager_helper.php
Expand Up @@ -4008,7 +4008,7 @@ static function StartSurvey($surveyid,$surveyMode='group',$aSurveyOptions=NULL,$
$LEM->indexGseq=array();
$LEM->indexQseq=array();
$LEM->qrootVarName2arrayFilter=array();

templatereplace("{}"); // Needed for coreReplacements in relevance equation (in all mode)
if (isset($_SESSION[$LEM->sessid]['startingValues']) && is_array($_SESSION[$LEM->sessid]['startingValues']) && count($_SESSION[$LEM->sessid]['startingValues']) > 0)
{
$startingValues = array();
Expand Down

0 comments on commit 78a5d2f

Please sign in to comment.