Skip to content

Commit

Permalink
Fixed issue #6529: Subquestion showing iup in position select box whe…
Browse files Browse the repository at this point in the history
…n adding a question
  • Loading branch information
c-schmitz committed Sep 14, 2012
1 parent afd0c03 commit 30803b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/question.php
Expand Up @@ -820,7 +820,7 @@ public function index($sa, $surveyid, $gid, $qid=null)
{
// Get the questions for this group
$baselang = Survey::model()->findByPk($surveyid)->language;
$oqresult = Questions::model()->findAllByAttributes(array('sid' => $surveyid, 'gid' => $gid, 'language' => $baselang), array('order' => 'question_order'));
$oqresult = Questions::model()->findAllByAttributes(array('sid' => $surveyid, 'gid' => $gid, 'language' => $baselang, 'parent_qid'=> 0), array('order' => 'question_order'));
$aData['oqresult'] = $oqresult;
}

Expand Down

0 comments on commit 30803b5

Please sign in to comment.