Skip to content

Commit

Permalink
Fixed issue #6071: Notices if using mssql and changing/importing survey
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed May 8, 2012
1 parent 69ab63a commit a30211c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/expressions/LimeExpressionManager.php
Expand Up @@ -6447,7 +6447,7 @@ private function getQuestionAttributesForEM($surveyid=NULL,$qid=NULL, $lang=NULL
global $databasetype;
if ($databasetype == 'odbc_mssql' || $databasetype == 'odbtp' || $databasetype == 'mssql_n' || $databasetype =='mssqlnative')
{
$query = "select distinct a.qid, a.attribute, CAST(a.value as varchar)";
$query = "select distinct a.qid, a.attribute, CAST(a.value as varchar) as value";
}
else
{
Expand Down

0 comments on commit a30211c

Please sign in to comment.