Skip to content

Commit

Permalink
Removed debug display error (echo $conditionscount)
Browse files Browse the repository at this point in the history
Fixed bug with ranking type questions where answers for questions would concatenate (added unset($quicky);)


git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@279 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed May 9, 2003
1 parent 4aaab13 commit 7862d85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/conditions.php
Expand Up @@ -165,6 +165,7 @@
}
$canswers[]=array($rows['sid'].$X.$rows['gid'].$X.$rows['qid'].$i, "", "No Answer");
}
unset($quicky);
}
else
{
Expand Down Expand Up @@ -283,7 +284,7 @@
$query = "SELECT conditions.cid, conditions.cqid, conditions.cfieldname, conditions.value, questions.type FROM conditions, questions WHERE conditions.cqid=questions.qid AND conditions.qid=$qid ORDER BY conditions.cfieldname";
$result = mysql_query($query) or die ("Couldn't get other conditions for question $qid<br />$query<br />".mysql_error());
$conditionscount=mysql_num_rows($result);
echo $conditionscount;

if ($conditionscount > 0)
{
while ($rows=mysql_fetch_array($result))
Expand Down

0 comments on commit 7862d85

Please sign in to comment.