Skip to content

Commit 304fb2b

Browse files
author
Marc Delisle
committed
Bug 4544: additional fix for 4.2.x
Signed-off-by: Marc Delisle <marc@infomarc.info>
1 parent c1a3f85 commit 304fb2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: libraries/TableSearch.class.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,8 @@ private function _getRowsNormal()
992992
$html_output .= '<td>' . $properties['collation'] . '</td>';
993993
$html_output .= '<td>' . $properties['func'] . '</td>';
994994
// here, the data-type attribute is needed for a date/time picker
995-
$html_output .= '<td data-type="' . $properties['type'] . '"'
995+
$html_output .= '<td data-type="'
996+
. htmlspecialchars($properties['type']) . '"'
996997
. '>' . $properties['value'] . '</td>';
997998
$html_output .= '</tr>';
998999
//Displays hidden fields

0 commit comments

Comments
 (0)