Commit 99b8b423 authored by Marius Burkard's avatar Marius Burkard
Browse files

- hide mail whilelist / blacklist from menu of client when limit is 0

parent 26ecd813
......@@ -61,7 +61,7 @@ if($app->auth->get_client_limit($userid, 'mailcatchall') != 0)
'html_id' => 'mail_domain_catchall_list');
}
if(! $app->auth->is_admin())
if(! $app->auth->is_admin() && $app->auth->get_client_limit($userid, 'mail_wblist') != 0)
{
$items[] = array( 'title' => 'Email Whitelist',
'target' => 'content',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment