Fix PHP notice - this function is called statically, so needs to be declared as such...
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 19 Jan 2015 18:27:15 +0000 (18:27 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 19 Jan 2015 18:27:15 +0000 (18:27 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14494 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/addressbook.php

index 2c7026bc84b646a95c7afad37f2a13e9b7f67e96..7e59f17b3c22eb1dd3f07f4a85b53a8652ae6018 100644 (file)
@@ -514,7 +514,7 @@ class AddressBook {
      * @param array $row address book entry
      * @return string email address with real name prepended
      */
      * @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)
         global $data_dir, $username, $addrsrch_fullname;
 
         // allow multiple addresses in one row (poor person's grouping - bah)