Skip to content

Commit 99b8b42

Browse files
author
Marius Burkard
committed
- hide mail whilelist / blacklist from menu of client when limit is 0
1 parent 26ecd81 commit 99b8b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/mail/lib/module.conf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
'html_id' => 'mail_domain_catchall_list');
6262
}
6363

64-
if(! $app->auth->is_admin())
64+
if(! $app->auth->is_admin() && $app->auth->get_client_limit($userid, 'mail_wblist') != 0)
6565
{
6666
$items[] = array( 'title' => 'Email Whitelist',
6767
'target' => 'content',

0 commit comments

Comments
 (0)