mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-23 10:16:18 +00:00
Fix missing mailbox on sender acl
This commit is contained in:
parent
d9a3e987e9
commit
a6d5bcecb7
1 changed files with 2 additions and 1 deletions
|
|
@ -4816,7 +4816,8 @@ function mailbox_get_sender_acl_handles($mailbox) {
|
|||
':logged_in_as' => $mailbox,
|
||||
':goto' => $mailbox
|
||||
));
|
||||
while ($row = array_shift($rows)) {
|
||||
$rows_mbox = $stmt->fetchAll(PDO::FETCH_ASSOC);
|
||||
while ($row = array_shift($rows_mbox)) {
|
||||
if (filter_var($row['address'], FILTER_VALIDATE_EMAIL) && hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $row['address'])) {
|
||||
$data['sender_acl_addresses']['selectable'][] = $row['address'];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue