Explorar o código

avoid E_STRICT errors

pdontthink %!s(int64=17) %!d(string=hai) anos
pai
achega
ef89a72ce6
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      functions/addressbook.php

+ 2 - 1
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;