소스 검색

PHP7 fix. Thanks to Kevin Buckley for reporting

pdontthink 8 년 전
부모
커밋
012734e5c6
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      class/deliver/Deliver_SendMail.class.php

+ 3 - 3
class/deliver/Deliver_SendMail.class.php

@@ -86,12 +86,12 @@ class Deliver_SendMail extends Deliver {
     *
     *
     * @param Message $message Message object containing the from address
     * @param Message $message Message object containing the from address
     * @param string $sendmail_path Location of sendmail binary
     * @param string $sendmail_path Location of sendmail binary
-    * @param mixed $ignore Eight extra arguments that the parent class
-    *                      requires which are not used here
+    * @param mixed $ignore_x Eight extra arguments that the parent class
+    *                        requires which are not used here
     * @return resource
     * @return resource
     * @access public
     * @access public
     */
     */
-    function initStream($message, $sendmail_path, $ignore=0, $ignore='', $ignore='', $ignore='', $ignore='', $ignore=false, $ignore='', $ignore=array()) {
+    function initStream($message, $sendmail_path, $ignore_1=0, $ignore_2='', $ignore_3='', $ignore_4='', $ignore_5='', $ignore_6=false, $ignore_7='', $ignore_8=array()) {
         $rfc822_header = $message->rfc822_header;
         $rfc822_header = $message->rfc822_header;
         $from = $rfc822_header->from[0];
         $from = $rfc822_header->from[0];
         $envelopefrom = trim($from->mailbox.'@'.$from->host);
         $envelopefrom = trim($from->mailbox.'@'.$from->host);