Explorar o código

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

pdontthink %!s(int64=10) %!d(string=hai) anos
pai
achega
408a37ca94
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      trunk/squirrelmail/functions/addressbook.php

+ 1 - 1
trunk/squirrelmail/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)