[Web] unlimited_quota fix for domain admins

This commit is contained in:
andryyy 2019-07-29 16:16:31 +02:00
parent 700329f24c
commit 2193378982
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -775,7 +775,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
$password2 = $_data['password2'];
$name = ltrim(rtrim($_data['name'], '>'), '<');
$quota_m = intval($_data['quota']);
if ((!isset($_SESSION['acl']['unlimited_quota']) || $_SESSION['acl']['quarantine_notification'] != "1") && $quota_m === 0) {
if ((!isset($_SESSION['acl']['unlimited_quota']) || $_SESSION['acl']['unlimited_quota'] != "1") && $quota_m === 0) {
$_SESSION['return'][] = array(
'type' => 'danger',
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),