Skip to content

Commit

Permalink
Merge branch 'Yii' of github.com:LimeSurvey/LimeSurvey into Question_…
Browse files Browse the repository at this point in the history
…Objects

Conflicts:
	application/controllers/admin/quotas.php
  • Loading branch information
aaronschmitz committed Aug 19, 2012
2 parents 4d95031 + a1185d3 commit 1aa2d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/quotas.php
Expand Up @@ -362,7 +362,7 @@ function new_answer($iSurveyId, $sSubAction = 'new_answer')
$quota_name = $aQuotaDetails['name'];
}

$result = Questions::model()->findAllByAttributes(array('type' => array('G', 'M', 'Y', 'A', 'B', 'I', 'L', 'O', '!'), 'sid' => $iSurveyId, 'language' => $sBaseLang)); //AJS
$result = Questions::model()->findAllByAttributes(array('type' => array('G', 'M', 'Y', 'A', 'B', 'I', 'L', 'O', '!'), 'sid' => $iSurveyId, 'language' => $sBaseLang, 'parent_qid' => 0)); //AJS
if (empty($result))
{
$aViewUrls[] = 'newanswererror_view';
Expand Down

0 comments on commit 1aa2d1d

Please sign in to comment.