소스 검색

[Web] unlimited_quota fix for domain admins

andryyy 6 년 전
부모
커밋
2193378982
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      data/web/inc/functions.mailbox.inc.php

+ 1 - 1
data/web/inc/functions.mailbox.inc.php

@@ -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),