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