mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
fix PHP 8.0 TypeError: Unsupported operand types: bool + array
This commit is contained in:
parent
3da9840ca9
commit
c32bb61e1c
@ -734,7 +734,7 @@ class calendar_uiviews extends calendar_ui
|
||||
$days == 1 // Showing just 1 day
|
||||
)
|
||||
{
|
||||
$content['view'][] = (array)$this->tagWholeDayOnTop($this->bo->search($search_params)) +
|
||||
$content['view'][] = $this->tagWholeDayOnTop($this->bo->search($search_params)) +
|
||||
array('owner' => $users);
|
||||
}
|
||||
else
|
||||
@ -1055,6 +1055,10 @@ class calendar_uiviews extends calendar_ui
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$dayEvents = []; // search returns false or null for nothing found!
|
||||
}
|
||||
return $dayEvents;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user