From 1ad27d869eee2c3cb75bf399ac4f2b7c7825a8c2 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 19 Jan 2015 18:27:15 +0000 Subject: [PATCH] Fix PHP notice - this function is called statically, so needs to be declared as such. Thanks to Juergen Nickelsen for reporting git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14494 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/addressbook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/addressbook.php b/functions/addressbook.php index 2c7026bc..7e59f17b 100644 --- a/functions/addressbook.php +++ b/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) -- 2.25.1