Commit 235e1d5d authored by Denis Chenu's avatar Denis Chenu
Browse files

Fix : Really start by the first completed response

parent 2abf2694
......@@ -132,7 +132,11 @@
}
elseif($bDoNext && $this->bIsAdmin)
{
$oResponse=SurveyDynamic::model($iSurveyId)->find("submitdate IS NOT NULL",array("order"=>"id"));
$oResponse=SurveyDynamic::model($iSurveyId)->find(
  • I think you need to wrap this in an array, I get a blank screen now

Please register or sign in to reply
'select'=>'id',
'condition'=>'submitdate IS NOT NULL',
'order'=>'id',
);
if(!$oResponse)
$this->sMessage="No submited response";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment