From 626de8786079042eb01012263fccd4e73dc04151 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sun, 6 Jan 2008 02:04:30 +0000 Subject: [PATCH] avoid E_STRICT errors git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12862 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/addressbook.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/addressbook.php b/functions/addressbook.php index 086e078c..b65f993b 100644 --- a/functions/addressbook.php +++ b/functions/addressbook.php @@ -130,7 +130,8 @@ function addressbook_init($showerr = true, $onlylocal = false) { * in an array and change those values as needed instead of returning * the changed values. */ - do_hook('abook_init', $temp=array(&$abook, &$r, &$onlylocal)); + $temp = array(&$abook, &$r, &$onlylocal); + do_hook('abook_init', $temp); if (!$r && $showerr) { if ($abook_init_error!='') $abook_init_error.="\n"; $abook_init_error.=_("Error initializing other address books.") . "\n" . $abook->error; -- 2.25.1