Skip to content

Commit

Permalink
Return global on "copyanswers" - missed for conversion with register_…
Browse files Browse the repository at this point in the history
…globals=off

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@740 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Oct 25, 2003
1 parent 7eb2acb commit f203eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/database.php
Expand Up @@ -226,7 +226,7 @@
{
echo "<script type=\"text/javascript\">\n<!--\n alert(\""._DB_FAIL_NEWQUESTION."\n".mysql_error()."\")\n //-->\n</script>\n";
}
if ($copyanswers == "Y")
if (returnglobal('copyanswers') == "Y")
{
$q2 = "SELECT qid FROM {$dbprefix}questions ORDER BY qid DESC LIMIT 1";
$r2 = mysql_query($q2);
Expand Down

0 comments on commit f203eba

Please sign in to comment.