Преглед изворни кода

* 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 = "";