diff options
author | Andrew Dolgov <[email protected]> | 2007-03-20 06:51:29 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-03-20 06:51:29 +0100 |
commit | 441acab8ff3a62e11d70ed920f0b12ad08b20e09 (patch) | |
tree | 821b9b7f064153e4859419c3247d2436feb05e07 /update.php | |
parent | 5b8db2d4b809beec8a76e77368570a94ed77b93b (diff) |
fix schema updater for single user mode
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php index 4f7a097c0..27cd871f9 100644 --- a/update.php +++ b/update.php @@ -19,7 +19,7 @@ $owner_uid = $_SESSION["uid"]; - if ($_SESSION["access_level"] < 10) { + if (!SINGLE_USER_MODE && $_SESSION["access_level"] < 10) { print "<p>". __("Error: your access level is insufficient to run this script.")."</p>"; exit; |