From 7c862e5c304cdfd747b5f2c57318bc178b4be3d4 Mon Sep 17 00:00:00 2001 From: Yash Bothra Date: Fri, 10 Jan 2020 15:34:41 +0530 Subject: [PATCH] #15767 fixed by changing === to !== Signed-off-by: Yash Bothra --- libraries/classes/Server/Privileges.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/classes/Server/Privileges.php b/libraries/classes/Server/Privileges.php index 1e50fbb32a..a61051ab0f 100644 --- a/libraries/classes/Server/Privileges.php +++ b/libraries/classes/Server/Privileges.php @@ -4423,7 +4423,7 @@ class Privileges isset($_POST['old_usergroup']) ? $_POST['old_usergroup'] : null; $this->setUserGroup($_POST['username'], $old_usergroup); - if ($create_user_real === null) { + if ($create_user_real !== null) { $queries[] = $create_user_real; } $queries[] = $real_sql_query;