Skip to content

Commit

Permalink
Merge pull request #42 from trougakoss/Yii
Browse files Browse the repository at this point in the history
Fixed issue #6569: setting $bUnused=true in list_participants results in...
  • Loading branch information
c-schmitz committed Sep 21, 2012
2 parents 809c851 + 17dce4d commit 80f92b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/remotecontrol.php
Expand Up @@ -1906,7 +1906,7 @@ public function list_participants($sSessionKey, $iSurveyID, $iStart=0, $iLimit=1
return array('status' => 'Error: No token table');

if($bUnused)
$oTokens = Tokens_dynamic::model($iSurveyID)->findAll(array("completed = 'N'", 'limit' => $iLimit, 'offset' => $iStart));
$oTokens = Tokens_dynamic::model($iSurveyID)->findAll(array('condition'=>"completed = 'N'", 'limit' => $iLimit, 'offset' => $iStart));
else
$oTokens = Tokens_dynamic::model($iSurveyID)->findAll(array('limit' => $iLimit, 'offset' => $iStart));

Expand Down

0 comments on commit 80f92b3

Please sign in to comment.