Explorar el Código

Fix PHP notice - this function is called statically, so needs to be declared as such. Thanks to Juergen Nickelsen for reporting

pdontthink hace 10 años
padre
commit
3845c4464d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      functions/addressbook.php

+ 1 - 1
functions/addressbook.php

@@ -514,7 +514,7 @@ class AddressBook {
      * @param array $row address book entry
      * @return string email address with real name prepended
      */
-    function full_address($row) {
+    static function full_address($row) {
         global $data_dir, $username, $addrsrch_fullname;
 
         // allow multiple addresses in one row (poor person's grouping - bah)