Skip to content

Commit

Permalink
Fix error:
Browse files Browse the repository at this point in the history
Invalid JSON:
Strict Standards: Creating default object from empty value in C:\Users\Aaron Schmitz\Desktop\LimeSurvey\application\controllers\admin\participantsaction.php on line 1051
{ "page":"1","records":"0","total":0 } (Error 200)
Could not process your query.
  • Loading branch information
aaronschmitz committed Aug 1, 2012
1 parent 6bda4d3 commit 049fbe4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/controllers/admin/participantsaction.php
Expand Up @@ -1047,6 +1047,7 @@ function subval_sort($a, $subkey, $order)
if (Yii::app()->session['USER_RIGHT_SUPERADMIN'])
{
$records = Participants::model()->getParticipants($page, $limit);
$aData = new stdClass;
$aData->page = $page;
$aData->records = Participants::model()->count();
$aData->total = ceil($aData->records / $limit);
Expand Down

0 comments on commit 049fbe4

Please sign in to comment.