From 786a8d0dfb73be9d2c6ce9f1824c25c0eabb3d03 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 24 Jul 2014 07:05:25 +0000 Subject: [PATCH] fixed uncaught ErrorException in setup: Argument 2 passed to addressbook_bo::private_addressbook() must be of the type array, null given --- addressbook/inc/class.addressbook_bo.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_bo.inc.php b/addressbook/inc/class.addressbook_bo.inc.php index 8bb590ffd2..a7278877c5 100755 --- a/addressbook/inc/class.addressbook_bo.inc.php +++ b/addressbook/inc/class.addressbook_bo.inc.php @@ -320,7 +320,7 @@ class addressbook_bo extends addressbook_so * @param array $prefs addressbook preferences * @return boolean */ - public static function private_addressbook($contact_repository, array $prefs) + public static function private_addressbook($contact_repository, array $prefs=null) { return $contact_repository == 'sql' && $prefs['private_addressbook']; }