Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
BUGFIX: Changed check on existance of $_GET['viewanswer'] or $_POST['…
…viewanswer'] to returnglobal('viewanswer') to stop warning if neither exists.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1180 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Sep 14, 2004
1 parent ed66ffe commit 24f419e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/admin.php
Expand Up @@ -226,7 +226,7 @@ function helpscreen()
{
$helpdoc = "$langdir/question.html";
}
elseif ($sid && $gid && $qid && ($_GET['viewanswer'] || $_POST['viewanswer']))
elseif ($sid && $gid && $qid && (returnglobal('viewanswer')))
{
$helpdoc = "$langdir/answer.html";
}
Expand Down

0 comments on commit 24f419e

Please sign in to comment.