Skip to content

Commit

Permalink
Fixed bug: Question Type "B" wasn't displaying answers - typo in if (…
Browse files Browse the repository at this point in the history
…$qid) section corrected.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@214 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Apr 12, 2003
1 parent 4b29f0d commit f0c54d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/html.php
Expand Up @@ -174,7 +174,7 @@
$qrq = "SELECT * FROM answers WHERE qid=$qid";
$qrr = mysql_query($qrq);
$qct = mysql_num_rows($qrr);
if ($qrrow['type'] == "O" || $qrrow['type'] == "L" || $qrrow['type'] == "M" || $qrrow['type'] == "A" || $grrow['type'] == "B" || $qrrow['type'] == "C" || $qrrow['type'] == "P")
if ($qrrow['type'] == "O" || $qrrow['type'] == "L" || $qrrow['type'] == "M" || $qrrow['type'] == "A" || $qrrow['type'] == "B" || $qrrow['type'] == "C" || $qrrow['type'] == "P")
{
$questionsummary .= "\t<tr><td align='right' valign='top'>$setfont<b>Answers:</b></font></td>\n";
$questionsummary .= "\t<td>\n\t\t<select $slstyle name='answer' onChange=\"window.open(this.options[this.selectedIndex].value,'_top')\">\n";
Expand Down

0 comments on commit f0c54d9

Please sign in to comment.