Skip to content

Commit

Permalink
Merge branch '2.05' of github.com:LimeSurvey/LimeSurvey into 2.05
Browse files Browse the repository at this point in the history
Conflicts:
	application/helpers/qanda_helper.php
  • Loading branch information
SamMousa committed Jul 12, 2013
2 parents f26db5a + c817d2e commit 4a2d74d
Show file tree
Hide file tree
Showing 27 changed files with 2,676 additions and 2,615 deletions.
2 changes: 1 addition & 1 deletion application/controllers/admin/export.php
Expand Up @@ -186,7 +186,7 @@ public function exportresults()
$data['excesscols'] = $aFieldMap;

//get max number of datasets
$iMaximum = Yii::app()->db->createCommand("SELECT count(id) FROM {{survey_".intval($iSurveyID)."}}")->queryScalar();
$iMaximum = SurveyDynamic::model($iSurveyID)->getMaxId();

$data['max_datasets'] = $iMaximum;
$data['surveyid'] = $iSurveyID;
Expand Down

0 comments on commit 4a2d74d

Please sign in to comment.