From 802e749066733b34ecb3c0552c080123e068ccfb Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sun, 6 Jan 2008 02:47:13 +0000 Subject: [PATCH] avoid E_STRICT errors git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12865 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compose.php b/src/compose.php index ab83c8c0..052f9a71 100644 --- a/src/compose.php +++ b/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(); -- 2.25.1