浏览代码

small fix

andre 5 年之前
父节点
当前提交
c3fb186b35
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      zimbraSingle.php

+ 2 - 2
zimbraSingle.php

@@ -245,7 +245,7 @@ function zimbraSingle_UsageUpdate($params) {
                 'Error : could not find quota for ' . $product['username'],
                 $accountQuota
             );
-            break;
+            continue;
         }
         $mboxObj = $apiAccountManager->getMailbox($product['username']);
         if(is_a($mboxObj, 'Exception')) {
@@ -256,7 +256,7 @@ function zimbraSingle_UsageUpdate($params) {
                 'Error: could not fetch mailbox info for ' . $product['username'],
                 $mboxObj
             );
-            break;
+            continue;
         }
         $mboxVars = get_object_vars($mboxObj);
         $mboxSize = $mboxVars['S'];