We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94890d7 commit 43ce66dCopy full SHA for 43ce66d
interface/lib/classes/listform_actions.inc.php
@@ -96,9 +96,9 @@ public function prepareDataRow($rec)
96
foreach($app->listform->listDef['item'] as $field) {
97
$key = $field['field'];
98
if(isset($field['formtype']) && $field['formtype'] == 'SELECT') {
99
- if($rec[$key] == 'y' or $rec[$key] == 'n') {
+ if(strtolower($rec[$key]) == 'y' or strtolower($rec[$key]) == 'n') {
100
// Set a additional image variable for bolean fields
101
- $rec['_'.$key.'_'] = ($rec[$key] == 'y')?'list_icon_true.png':'list_icon_false.png';
+ $rec['_'.$key.'_'] = (strtolower($rec[$key]) == 'y')?'list_icon_true.png':'list_icon_false.png';
102
}
103
//* substitute value for select field
104
$rec[$key] = @$field['value'][$rec[$key]];
0 commit comments