Fix multiple categories show as just IDs

This commit is contained in:
Nathan Gray 2016-03-31 23:06:23 +00:00
parent 43ae598f98
commit abd1830ec2

View File

@ -1715,6 +1715,7 @@ class calendar_uiforms extends calendar_ui
$readonlys['recur_interval'] = $readonlys['recur_data'] = true;
}
}
$content['category'] = explode(',',$event['category']);
// disabling the custom fields tab, if there are none
$readonlys['tabs'] = array(
'custom' => !count($this->bo->customfields),