Skip to content

Commit

Permalink
Dev Bugfix - Drag-n-drop of questions/groups was showing LimeReplacem…
Browse files Browse the repository at this point in the history
…entFields as unknown variables.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11328 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
TMSWhite committed Nov 4, 2011
1 parent 166ba14 commit 2168e4b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions application/controllers/admin/questiongroup.php
Expand Up @@ -528,9 +528,14 @@ function organize($iSurveyID)

LimeExpressionManager::StartProcessingPage(false,true,false);
$aGrouplist=$this->groups_model->getGroups($iSurveyID);
$initializedReplacementFields=false;
foreach($aGrouplist as $iGID=>$aGroup)
{
LimeExpressionManager::StartProcessingGroup($aGroup['gid'],false,$iSurveyID);
if (!$initializedReplacementFields) {
templatereplace("{SITENAME}"); // Hack to ensure the EM sets values of LimeReplacementFields
$initializedReplacementFields = true;
}
$oQuestionData=$this->questions_model->getQuestions($iSurveyID,$aGroup['gid'],$sBaseLanguage);
$qs = array();
$junk=array();
Expand Down

0 comments on commit 2168e4b

Please sign in to comment.