Commit 97f50e0c authored by anupamadharmajan's avatar anupamadharmajan Committed by Ghada El-Zoghbi
Browse files

Bug 1834261: Reports generating error

The start and end date are disambiguated by looking at the separator

Sponsored by The Australian National University

behatnotneeded

Change-Id: I73d534391bc9eaaddb7cffb564d4fd1d3de0c0db
parent 204f4e8e
......@@ -95,8 +95,8 @@ else {
$start = param_variable('start', null);
$end = param_variable('end', null);
$start = $start ? format_date(strtotime($start), 'strftimew3cdate') : null;
$end = $end ? format_date(strtotime($end), 'strftimew3cdate') : null;
$start = $start ? format_date(strtotime(str_replace('/', '-', $start)), 'strftimew3cdate') : null;
$end = $end ? format_date(strtotime(str_replace('/', '-', $end)), 'strftimew3cdate') : null;
$activecolumns = $SESSION->get('columnsforstats');
$activecolumns = !empty($activecolumns) ? $activecolumns : array();
......
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