aboutsummaryrefslogtreecommitdiffstats
path: root/install/db/91-database.php
diff options
context:
space:
mode:
Diffstat (limited to 'install/db/91-database.php')
-rw-r--r--install/db/91-database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/db/91-database.php b/install/db/91-database.php
index 871db559e..1f551c517 100644
--- a/install/db/91-database.php
+++ b/install/db/91-database.php
@@ -32,7 +32,7 @@ $upgrade_description = 'Remove adviser status.';
$query = "
UPDATE ".USER_INFOS_TABLE."
SET status = 'normal'
-WHERE (status = 'webmaster' OR status = 'admin')
+WHERE status IN ('webmaster', 'admin')
AND adviser = 'true'
;";