Permalink
Browse files

Added filtering to the testlog search string

  • Loading branch information...
pmeenan committed Jul 15, 2015
1 parent 072ed46 commit 225b429bc6d0f6e19f5f54fde525602132c748bf
Showing with 1 addition and 1 deletion.
  1. +1 −1 www/testlog.php
@@ -17,7 +17,7 @@
$days = (int)$_GET["days"];
$from = $_GET["from"] ?: 'now';
$filter = $_GET["filter"];
$filterstr = $filter ? strtolower($filter) : null;
$filterstr = $filter ? preg_replace('/[^a-zA-Z0-9 \.\(\))\-\+]/', '', strtolower($filter)) : null;
$onlyVideo = !empty($_REQUEST['video']);
$all = !empty($_REQUEST['all']);
$repeat = !empty($_REQUEST['repeat']);

0 comments on commit 225b429

Please sign in to comment.