diff --git a/plugins/UsersManager/Model.php b/plugins/UsersManager/Model.php index 97c3f20e823..f6b453e4e93 100644 --- a/plugins/UsersManager/Model.php +++ b/plugins/UsersManager/Model.php @@ -179,7 +179,7 @@ public function addUser($userLogin, $passwordTransformed, $email, $alias, $token public function setSuperUserAccess($userLogin, $hasSuperUserAccess) { - $this->getDb()->update(Common::prefixTable('user'),//$this->table, + $this->getDb()->update($this->table, array( 'superuser_access' => $hasSuperUserAccess ? 1 : 0 ),