diff --git a/create.php b/create.php index 80b1e23..a84025d 100644 --- a/create.php +++ b/create.php @@ -54,6 +54,7 @@ if ($adminExists != 1) { $primary = 0; } +$DatabaseQuery = $Database->query('SELECT * FROM admins'); while ($line = $DatabaseQuery->fetchArray()) { if ($line['key'] == $_COOKIE[$cookieName] && $_COOKIE[$cookieName] != "" && $line['key'] != "" && ($enableKeys || $enableKeys == "true")) { $AuthorizedCreation = 1;