Skip to content

Commit

Permalink
Fixed issue #6831: Exception when attempting to view individual surve…
Browse files Browse the repository at this point in the history
…y result on MSSQL
  • Loading branch information
c-schmitz committed Nov 5, 2012
1 parent ac39940 commit b0680f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/Survey_dynamic.php
Expand Up @@ -282,7 +282,7 @@ public function previous($srid,$usefilterstate=false)
elseif ($usefilterstate && incompleteAnsFilterState() == 'complete')
$wherefilterstate='submitdate IS NOT NULL';
else
$wherefilterstate='true';
$wherefilterstate='1=1';

if(Yii::app()->db->schema->getTable($this->tableName())){
$data=Yii::app()->db->createCommand()
Expand Down

0 comments on commit b0680f9

Please sign in to comment.