diff --git a/webui/model/user/user.php b/webui/model/user/user.php index d53fdef6..dd12c6ef 100644 --- a/webui/model/user/user.php +++ b/webui/model/user/user.php @@ -382,7 +382,7 @@ class ModelUserUser extends Model { private function update_group_settings($uid = -1, $group = '') { $__g = array(); - if($uid <= 0 || $group == '') { return 0; } + if($uid <= 0) { return 0; } $query = $this->db->query("DELETE FROM `" . TABLE_GROUP_USER . "` WHERE uid=?", array($uid));