Skip to content

Commit 0a60ff4

Browse files
author
Marius Burkard
committed
- fixed missing commit from previous commit
1 parent 5076ce9 commit 0a60ff4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

interface/lib/classes/listform_actions.inc.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ public function prepareDataRow($rec)
180180
$rec['_'.$key.'_'] = (strtolower($rec[$key]) == 'y')?'x16/tick_circle.png':'x16/cross_circle.png';
181181
}
182182
//* substitute value for select field
183-
if(isset($field['datasource']) && $field['datasource']) $rec[$key] = $app->functions->htmlentities(@$field['value'][$rec[$key]]);
184-
else $rec[$key] = @$field['value'][$rec[$key]];
183+
$rec[$key] = $app->functions->htmlentities(@$field['value'][$rec[$key]]);
185184
}
186185
}
187186
}

0 commit comments

Comments
 (0)