Skip to content

Commit

Permalink
fixed conditions
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2187 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Ronald Leenes committed Dec 14, 2006
1 parent 7443997 commit fe0a5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/conditions.php
Expand Up @@ -277,7 +277,7 @@
else {$shortquestion=$rows['title'].": ".strip_tags($rows['question']);}
if ($rows['type'] == "A" || $rows['type'] == "B" || $rows['type'] == "C" || $rows['type'] == "E" || $rows['type'] == "F" || $rows['type'] == "H")
{
$aquery="SELECT * FROM {$dbprefix}answers WHERE qid={$rows['qid']} AND ".db_table_name('questions').".language='".GetBaseLanguageFromSurveyID($surveyid)."' ORDER BY sortorder, answer";
$aquery="SELECT * FROM {$dbprefix}answers WHERE qid={$rows['qid']} AND {$dbprefix}answers.language='".GetBaseLanguageFromSurveyID($surveyid)."' ORDER BY sortorder, answer";
$aresult=db_execute_assoc($aquery) or die ("Couldn't get answers to Array questions<br />$aquery<br />".$connect->ErrorMsg());
while ($arows = $aresult->FetchRow())
{
Expand Down

0 comments on commit fe0a5df

Please sign in to comment.