$ignore is global

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@255 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2007-07-25 17:30:59 +00:00
parent 2188934c4e
commit 9b622fe6fc

View file

@ -31,6 +31,7 @@ if (isset($_POST["server"])) {
}
function auth_error() {
global $ignore;
$username = $_SESSION["usernames"][$_GET["server"]];
if ($_POST["token"] && !isset($username)) {
$_POST["token"] = token();