From 502b1f248a2aad14335f334df8b711afed82fd0c Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sun, 6 Jan 2008 02:06:06 +0000 Subject: [PATCH] avoid E_STRICT errors git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12863 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/auth.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/auth.php b/functions/auth.php index ba8ff5d4..7cd8538e 100644 --- a/functions/auth.php +++ b/functions/auth.php @@ -287,5 +287,6 @@ function get_smtp_user(&$user, &$pass) { // directly changing the arguments array contents // in your plugin e.g., $args[0] = 'new_username'; // - do_hook('smtp_auth', $temp=array(&$user, &$pass)); + $temp = array(&$user, &$pass); + do_hook('smtp_auth', $temp); } -- 2.25.1