Ignore:
Timestamp:
02/13/15 09:32:48 (4 years ago)
Author:
mistic100
Message:

bug 3188: history search, trailing space in dates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/history.php

    r30948 r30956  
    7676  if (!empty($_POST['start'])) 
    7777  { 
    78     $_POST['start'] = trim($_POST['start']); 
    7978    check_input_parameter('start', $_POST, false, '/^\d{4}-\d{2}-\d{2}$/'); 
    8079    $search['fields']['date-after'] = $_POST['start']; 
     
    8382  if (!empty($_POST['end'])) 
    8483  { 
    85     $_POST['end'] = trim($_POST['end']); 
    8684    check_input_parameter('end', $_POST, false, '/^\d{4}-\d{2}-\d{2}$/'); 
    8785    $search['fields']['date-before'] = $_POST['end']; 
Note: See TracChangeset for help on using the changeset viewer.