X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Faddressbook.php;h=b65f993b667d6a9630a8360957f3433d7536865b;hp=086e078c122940cb03436a0537cc01a04827b21a;hb=626de8786079042eb01012263fccd4e73dc04151;hpb=5619673737450c926cf406d4aeb802d0544f52ed 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;