Skip to content

Commit 1caeea6

Browse files
author
Marius Burkard
committed
- fixed missing htmlentities on formtype SELECT in list entries
1 parent 7ed34ac commit 1caeea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/listform_actions.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +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-
$rec[$key] = @$field['value'][$rec[$key]];
183+
$rec[$key] = $app->functions->htmlentities(@$field['value'][$rec[$key]]);
184184
}
185185
}
186186
}

0 commit comments

Comments
 (0)