mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-20 04:48:50 +01:00
fixed uncaught ErrorException in setup: Argument 2 passed to addressbook_bo::private_addressbook() must be of the type array, null given
This commit is contained in:
parent
1ab646e290
commit
786a8d0dfb
@ -320,7 +320,7 @@ class addressbook_bo extends addressbook_so
|
|||||||
* @param array $prefs addressbook preferences
|
* @param array $prefs addressbook preferences
|
||||||
* @return boolean
|
* @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'];
|
return $contact_repository == 'sql' && $prefs['private_addressbook'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user