summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rw-r--r--update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/update.php b/update.php
index 27cd871f9..3851679ac 100644
--- a/update.php
+++ b/update.php
@@ -20,8 +20,8 @@
$owner_uid = $_SESSION["uid"];
if (!SINGLE_USER_MODE && $_SESSION["access_level"] < 10) {
- print "<p>".
- __("Error: your access level is insufficient to run this script.")."</p>";
+ $_SESSION["login_error_msg"] = __("Your access level is insufficient to run this script.");
+ render_login_form($link);
exit;
}