summaryrefslogtreecommitdiff
path: root/search_advanced.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2017-07-11 11:52:56 +0100
committerGreg Roach <fisharebest@gmail.com>2017-07-11 11:53:09 +0100
commitcc5ab399cc3c8f78158c8e3027cb0ecf038648dc (patch)
tree54da92556607e9cae21cfbd440ed136b383b0b94 /search_advanced.php
parent1c2ce4bb435dee3d5672951797a6a66711c25938 (diff)
downloadwebtrees-cc5ab399cc3c8f78158c8e3027cb0ecf038648dc.tar.gz
webtrees-cc5ab399cc3c8f78158c8e3027cb0ecf038648dc.tar.bz2
webtrees-cc5ab399cc3c8f78158c8e3027cb0ecf038648dc.zip
Prepare to remove class Filter
Diffstat (limited to 'search_advanced.php')
-rw-r--r--search_advanced.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/search_advanced.php b/search_advanced.php
index 375d808cd7..53d2eb0eac 100644
--- a/search_advanced.php
+++ b/search_advanced.php
@@ -147,7 +147,7 @@ echo '</script>';
$currentFieldSearch = $controller->getField($i); // Get this field’s name and the search criterion
$currentField = substr($currentFieldSearch, 0, strrpos($currentFieldSearch, ':')); // Get the actual field name
?>
- <input type="text" id="value<?= $i ?>" name="values[<?= $i ?>]" value="<?= Filter::escapeHtml($controller->getValue($i)) ?>"<?= substr($controller->getField($i), -4) == 'PLAC' ? 'data-autocomplete-type="PLAC"' : '' ?>>
+ <input type="text" id="value<?= $i ?>" name="values[<?= $i ?>]" value="<?= Html::escape($controller->getValue($i)) ?>"<?= substr($controller->getField($i), -4) == 'PLAC' ? 'data-autocomplete-type="PLAC"' : '' ?>>
<?php if (preg_match('/^NAME:/', $currentFieldSearch) > 0) { ?>
<select name="fields[<?= $i ?>]">
<option value="<?= $currentField ?>:EXACT" <?php if (preg_match('/:EXACT$/', $currentFieldSearch) > 0) echo 'selected' ?>><?= I18N::translate('Exact') ?></option>