Skip to content

Commit

Permalink
Some additional checks to ensure variables exist before evaluation (s…
Browse files Browse the repository at this point in the history
…tops warning messages)

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1134 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Aug 22, 2004
1 parent a843d99 commit 3b1ff85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qanda.php
Expand Up @@ -595,7 +595,7 @@ function do_listwithcomment($ia)
{
$answer .= "checked />";
}
elseif ($_SESSION[$ia[1]] && !$defexists)
elseif ($_SESSION[$ia[1]] && (!isset($defexists) || !$defexists))
{
$answer .= " />";
}
Expand Down

0 comments on commit 3b1ff85

Please sign in to comment.