forked from extern/egroupware
fix PHP 8.0 TypeError: explode(): Argument #2 ($string) must be of type string, array given
This commit is contained in:
parent
16dc367b1e
commit
1e6bffc4e5
@ -1885,7 +1885,7 @@ class calendar_uiforms extends calendar_ui
|
||||
}
|
||||
if ($content['category'] && !is_array($content['category']))
|
||||
{
|
||||
$content['category'] = explode(',',$event['category']);
|
||||
$content['category'] = explode(',', $content['category']);
|
||||
}
|
||||
// disabling the custom fields tab, if there are none
|
||||
$readonlys['tabs'] = array(
|
||||
|
Loading…
Reference in New Issue
Block a user