diff --git a/webui/controller/user/settings.php b/webui/controller/user/settings.php index ae9a6b2e..e0fe061c 100644 --- a/webui/controller/user/settings.php +++ b/webui/controller/user/settings.php @@ -39,7 +39,7 @@ class ControllerUserSettings extends Controller { } $auditdomains = preg_replace("/^,\s/", "", $auditdomains); - $auditgroups = preg_replace("/\s/", ", ", $this->model_group_group->get_groups_by_email($session->get("emails"))); + $auditgroups = preg_replace("/\n/", ", ", $this->model_group_group->get_groups_by_email($session->get("emails"))); $folders = $session->get("folders");