From 441acab8ff3a62e11d70ed920f0b12ad08b20e09 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 20 Mar 2007 06:51:29 +0100 Subject: fix schema updater for single user mode --- update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update.php') 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 "

". __("Error: your access level is insufficient to run this script.")."

"; exit; -- cgit v1.2.3