瀏覽代碼

avoid E_STRICT errors

pdontthink 17 年之前
父節點
當前提交
88c93c13f9
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/compose.php

+ 2 - 1
src/compose.php

@@ -522,7 +522,8 @@ if ($send) {
         // NOTE: this hook changed in 1.5.2 from sending $Result and
         //       $composeMessage as args #2 and #3 to being in an array
         //       under arg #2
-        do_hook('compose_send_after', $temp=array(&$Result, &$composeMessage, &$mail_sent));
+        $temp = array(&$Result, &$composeMessage, &$mail_sent);
+        do_hook('compose_send_after', $temp);
         if (! $Result) {
             showInputForm($session);
             exit();