Calendar: Avoid Undefined warning

This commit is contained in:
nathan 2023-04-27 07:59:01 -06:00
parent cea886fd83
commit d70562e0be

View File

@ -314,7 +314,7 @@ class calendar_owner_etemplate_widget extends Etemplate\Widget\Taglist
{
$value = array_merge($value, $value['label']);
}
if($data['resources'])
if(!empty($data['resources']))
{
$value['resources'] = $data['resources'];
}