diff --git a/src/Core/ACL.php b/src/Core/ACL.php index 0eb2ecc8b3..3f163216e3 100644 --- a/src/Core/ACL.php +++ b/src/Core/ACL.php @@ -359,7 +359,7 @@ class ACL extends BaseObject $pubmail_enabled = false; if (function_exists('imap_open') && !Config::get('system', 'imap_disabled')) { - $mailacct = DBA::selectFirst('mailacct', ['pubmail'], ['`uid` = ? AND `server` != ""', $user['Ășid']]); + $mailacct = DBA::selectFirst('mailacct', ['pubmail'], ['`uid` = ? AND `server` != ""', $user['uid']]); if (DBA::isResult($mailacct)) { $mail_enabled = true; $pubmail_enabled = !empty($mailacct['pubmail']);