mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 02:18:28 +02: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
|
$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);
|
array('owner' => $users);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -1055,6 +1055,10 @@ class calendar_uiviews extends calendar_ui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$dayEvents = []; // search returns false or null for nothing found!
|
||||||
|
}
|
||||||
return $dayEvents;
|
return $dayEvents;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user