Add 'None' option to calendar display options

This commit is contained in:
Nathan Gray 2015-04-10 14:48:49 +00:00
parent c328d72f27
commit 6046480847

View File

@ -451,7 +451,7 @@ class infolog_hooks
'type' => 'multiselect', 'type' => 'multiselect',
'label' => 'Which types should the calendar show', 'label' => 'Which types should the calendar show',
'name' => 'cal_show', 'name' => 'cal_show',
'values' => $info->enums['type'], 'values' => array(0 => lang('None')) + $info->enums['type'],
'help' => 'Can be used to show further InfoLog types in the calendar or limit it to show eg. only tasks.', 'help' => 'Can be used to show further InfoLog types in the calendar or limit it to show eg. only tasks.',
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => False, 'admin' => False,