select priority should map 0 to None, not empty

This commit is contained in:
Klaus Leithoff 2013-01-31 14:34:55 +00:00
parent becc8c3bca
commit 33b1066b77
3 changed files with 3 additions and 3 deletions

View File

@ -1648,7 +1648,7 @@ class calendar_boupdate extends calendar_bo
);
$pri = Array(
0 => '',
0 => lang('None'),
1 => lang('Low'),
2 => lang('Normal'),
3 => lang('High')

View File

@ -159,7 +159,7 @@ class calendar_import_csv implements importexport_iface_import_plugin {
$lookups = array(
'priority' => Array(
0 => '',
0 => lang('None'),
1 => lang('Low'),
2 => lang('Normal'),
3 => lang('High')

View File

@ -124,7 +124,7 @@ class select_widget
break;
case 'select-priority':
$cell['sel_options'] = array('','low','normal','high');
$cell['sel_options'] = array('none','low','normal','high');
break;
case 'select-bool': // equal to checkbox, can be used with nextmatch-customfilter to filter a boolean column