summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php
index 9537d49c6..9da3382f7 100644
--- a/update.php
+++ b/update.php
@@ -492,7 +492,7 @@ function update_page() {
print "<html><h1>Drupal update</h1>";
// Security check:
-if (!user_access(NULL)) {
+if (user_access(NULL)) {
update_page();
}
else {