Skip to content

Commit

Permalink
Fixed issue #7335: SQL error (column ID ambiguous) when exporting a s…
Browse files Browse the repository at this point in the history
…ingle response
  • Loading branch information
c-schmitz committed Mar 2, 2013
1 parent 25b92ef commit 0d88e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/export.php
Expand Up @@ -260,7 +260,7 @@ public function exportresults()

if (Yii::app()->request->getPost('response_id'))
{
$sFilter='id='.(int)Yii::app()->request->getPost('response_id');
$sFilter="{{survey_{$iSurveyID}}}.id=".(int)Yii::app()->request->getPost('response_id');
}
else
{
Expand Down

0 comments on commit 0d88e92

Please sign in to comment.