mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix PHP Fatal error: Declaration of calendar_owner_etemplate_widget::ajax_search($search_text, $search_options = []) must be compatible with EGroupware\Api\Etemplate\Widget\Taglist::ajax_search($search_text = null, array $search_options = [])
This commit is contained in:
parent
0e2d1cb15d
commit
90cb916d32
@ -162,7 +162,7 @@ class calendar_owner_etemplate_widget extends Etemplate\Widget\Taglist
|
||||
}
|
||||
}
|
||||
|
||||
public static function ajax_search($search_text, $search_options = [])
|
||||
public static function ajax_search($search_text=null, array $search_options = [])
|
||||
{
|
||||
|
||||
$bo = new calendar_bo();
|
||||
@ -186,7 +186,7 @@ class calendar_owner_etemplate_widget extends Etemplate\Widget\Taglist
|
||||
$mapped = array();
|
||||
$_results = array();
|
||||
|
||||
// Handle Api\Accounts seperately
|
||||
// Handle Api\Accounts separately
|
||||
if($type == '')
|
||||
{
|
||||
$owngroup_options = $options+array('account_type'=>'owngroups');
|
||||
|
Loading…
Reference in New Issue
Block a user