소스 검색

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

pdontthink 10 년 전
부모
커밋
408a37ca94
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)