mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 02:43:22 +01:00
fix PHP 8.0 TypeError: explode(): Argument #2 ($string) must be of type string, array given
This commit is contained in:
parent
986944c261
commit
6ce457f8e2
@ -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