Browse Source

* Disabled errors (see comment for why)

Tyler Akins 24 years ago
parent
commit
1a707eb3b1
1 changed files with 3 additions and 1 deletions
  1. 3 1
      functions/smtp.php

+ 3 - 1
functions/smtp.php

@@ -44,7 +44,9 @@
    function expandAddrs ($array) {
    function expandAddrs ($array) {
       global $domain;
       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++) {
       for ($i=0; $i < count($array); $i++) {
          $result = $abook->lookup($array[$i]);
          $result = $abook->lookup($array[$i]);
          $ret = "";
          $ret = "";