From 1e5ae210b2429e68d59ebf0cf5044c8a04a53244 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sun, 6 Jan 2008 02:56:20 +0000 Subject: [PATCH] avoid E_STRICT errors git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12868 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/display_messages.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/display_messages.php b/functions/display_messages.php index a75dac4c..5ef7941a 100644 --- a/functions/display_messages.php +++ b/functions/display_messages.php @@ -68,7 +68,8 @@ function logout_error( $errString, $errTitle = '' ) { /* As of 1.5.2, plugin parameters are combined into one array; plugins on this hook must be updated */ - do_hook('logout_error', $temp=array(&$errString, &$errTitle, &$login_link)); + $temp = array(&$errString, &$errTitle, &$login_link); + do_hook('logout_error', $temp); if ( $errTitle == '' ) { $errTitle = $errString; -- 2.25.1