Skip to content
Permalink
Browse files Browse the repository at this point in the history
Properly escape zoom search column type
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Jun 22, 2016
1 parent 36df83a commit 960fd1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/table/search/rows_zoom.phtml
Expand Up @@ -78,7 +78,7 @@ for ($i = 0; $i < 4; $i++): ?>
name="criteriaColumnTypes[<?= $i; ?>]"
id="types_<?= $i; ?>"
<?php if (isset($_POST['criteriaColumnTypes'][$i])): ?>
value="<?= $_POST['criteriaColumnTypes'][$i]; ?>"
value="<?= htmlspecialchars($_POST['criteriaColumnTypes'][$i]); ?>"
<?php endif; ?> />
<input type="hidden"
name="criteriaColumnCollations[<?= $i; ?>]"
Expand Down

0 comments on commit 960fd1f

Please sign in to comment.