mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
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
@ -1883,9 +1883,9 @@ class calendar_uiforms extends calendar_ui
|
||||
$readonlys['recur_interval'] = $readonlys['recur_data'] = true;
|
||||
}
|
||||
}
|
||||
if($content['category'] && !is_array($content['category']))
|
||||
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