瀏覽代碼

Remove stray curly brackets

pdontthink 4 年之前
父節點
當前提交
45ae2d0072
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      class/deliver/Deliver_SMTP.class.php

+ 1 - 1
class/deliver/Deliver_SMTP.class.php

@@ -163,7 +163,7 @@ class Deliver_SMTP extends Deliver {
         $tmp = $this->parse_ehlo_response($stream);
         $tmp = $this->parse_ehlo_response($stream);
         if ($this->errorCheck($tmp,$stream)) {
         if ($this->errorCheck($tmp,$stream)) {
             // fall back to HELO if EHLO is not supported (error 5xx)
             // fall back to HELO if EHLO is not supported (error 5xx)
-            if ($this->dlv_ret_nr{0} == '5') {
+            if ($this->dlv_ret_nr[0] == '5') {
                 fputs($stream, "HELO $helohost\r\n");
                 fputs($stream, "HELO $helohost\r\n");
                 $tmp = fgets($stream,1024);
                 $tmp = fgets($stream,1024);
                 if ($this->errorCheck($tmp,$stream)) {
                 if ($this->errorCheck($tmp,$stream)) {