mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
fix PHP 8.0 TypeError: Cannot access offset of type string on string
This commit is contained in:
parent
6eca840838
commit
1cefb08ae6
@ -777,7 +777,7 @@ class calendar_merge extends Api\Storage\Merge
|
||||
else if((strpos($content, '$$pagerepeat') !== false || strpos($content, '{{pagerepeat') !== false)
|
||||
&& ((strpos($content, '$$range') === false && strpos($content, '{{range') === false)))
|
||||
{
|
||||
if(is_array($ids) && $ids[0] && !$ids[0]['id'])
|
||||
if (is_array($ids) && !empty($ids[0]) && !(is_array($ids[0]) || isset($ids[0]['id'])))
|
||||
{
|
||||
foreach($ids as $range)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user