瀏覽代碼

* Disabled errors (see comment for why)

Tyler Akins 24 年之前
父節點
當前提交
1a707eb3b1
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      functions/smtp.php

+ 3 - 1
functions/smtp.php

@@ -44,7 +44,9 @@
    function expandAddrs ($array) {
       global $domain;
       
-      $abook = addressbook_init();
+      // don't show errors -- kinda critical that we don't see
+      // them here since the redirect won't work if we do show them
+      $abook = addressbook_init(false);
       for ($i=0; $i < count($array); $i++) {
          $result = $abook->lookup($array[$i]);
          $ret = "";