Commit ed4a3335 authored by Franco Fichtner's avatar Franco Fichtner

logs: fix searching for html-safe strings, can come up empty

parent cdfc85fd
...@@ -59,7 +59,7 @@ if (!empty($_POST['clear'])) { ...@@ -59,7 +59,7 @@ if (!empty($_POST['clear'])) {
} }
if (isset($_POST['filtertext'])) { if (isset($_POST['filtertext'])) {
$filtertext = html_safe($_POST['filtertext']); $filtertext = $_POST['filtertext'];
} }
include("head.inc"); include("head.inc");
...@@ -75,7 +75,7 @@ include("head.inc"); ...@@ -75,7 +75,7 @@ include("head.inc");
<form method="post"> <form method="post">
<div class="input-group"> <div class="input-group">
<div class="input-group-addon"><i class="fa fa-search"></i></div> <div class="input-group-addon"><i class="fa fa-search"></i></div>
<input type="text" class="form-control" id="filtertext" name="filtertext" placeholder="<?= html_safe(gettext('Search for a specific message...')) ?>" value="<?=$filtertext;?>"/> <input type="text" class="form-control" id="filtertext" name="filtertext" placeholder="<?= html_safe(gettext('Search for a specific message...')) ?>" value="<?= html_safe($filtertext) ?>"/>
</div> </div>
</form> </form>
</p> </p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment