fixed showing emails on settings page

This commit is contained in:
SJ 2013-04-17 11:37:01 +02:00
parent a198aa11e8
commit 3a539bcaf7

View File

@ -24,7 +24,7 @@ class ControllerUserSettings extends Controller {
$d = $r = '';
$auditemails = $auditdomains = $auditgroups = $auditfolders = '';
$auditemails = $this->model_user_user->get_emails_by_uid($_SESSION['uid']);
$auditemails = implode(", ", $_SESSION['emails']);
foreach($_SESSION['auditdomains'] as $d) {
$auditdomains .= ', '.$d;