diff options
author | mistic100 <mistic@piwigo.org> | 2015-02-13 08:32:48 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2015-02-13 08:32:48 +0000 |
commit | 0bf46b68542880fa0c5951bf124b7b20f4feb217 (patch) | |
tree | 726570477bae2b6fcfc354137c92f1a857b1dfcb /admin/history.php | |
parent | 6de82cb36fdbe5df241c4d053175dae620c76c54 (diff) |
bug 3188: history search, trailing space in dates
git-svn-id: http://piwigo.org/svn/trunk@30956 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/history.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/admin/history.php b/admin/history.php index 190ad334b..26855bb40 100644 --- a/admin/history.php +++ b/admin/history.php @@ -75,14 +75,12 @@ if (isset($_POST['submit'])) // dates if (!empty($_POST['start'])) { - $_POST['start'] = trim($_POST['start']); check_input_parameter('start', $_POST, false, '/^\d{4}-\d{2}-\d{2}$/'); $search['fields']['date-after'] = $_POST['start']; } if (!empty($_POST['end'])) { - $_POST['end'] = trim($_POST['end']); check_input_parameter('end', $_POST, false, '/^\d{4}-\d{2}-\d{2}$/'); $search['fields']['date-before'] = $_POST['end']; } |