fix schema updater for single user mode

This commit is contained in:
Andrew Dolgov 2007-03-20 06:51:29 +01:00
parent 5b8db2d4b8
commit 441acab8ff
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
$owner_uid = $_SESSION["uid"]; $owner_uid = $_SESSION["uid"];
if ($_SESSION["access_level"] < 10) { if (!SINGLE_USER_MODE && $_SESSION["access_level"] < 10) {
print "<p>". print "<p>".
__("Error: your access level is insufficient to run this script.")."</p>"; __("Error: your access level is insufficient to run this script.")."</p>";
exit; exit;