Skip to content

Commit

Permalink
Fixed #6155: Error on MSSQL: Ambiguous column name qid
Browse files Browse the repository at this point in the history
  • Loading branch information
mennodekker committed May 31, 2012
1 parent 46fa634 commit 64d892c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/expressions/LimeExpressionManager.php
Expand Up @@ -6821,7 +6821,7 @@ function getAnswerSetsForEM($surveyid=NULL,$qid=NULL,$lang=NULL)
." FROM ".db_table_name('answers')." AS a, ".db_table_name('questions')." as q"
." WHERE ".$where
.$lang
." ORDER BY qid, scale_id, sortorder";
." ORDER BY a.qid, a.scale_id, a.sortorder";

$data = db_execute_assoc($query);

Expand Down

0 comments on commit 64d892c

Please sign in to comment.