From: pdontthink Date: Sun, 6 Jan 2008 02:47:13 +0000 (+0000) Subject: avoid E_STRICT errors X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=802e749066733b34ecb3c0552c080123e068ccfb;p=squirrelmail.git avoid E_STRICT errors git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12865 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- 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();