Cleaned source code style.
This commit is contained in:
parent
5864d846ba
commit
baaf21148e
|
@ -46,17 +46,17 @@ enterprise_include("include/functions_reporting.php");
|
|||
$pure = get_parameter('pure',0);
|
||||
|
||||
// Get different date to search the report.
|
||||
$date = (string) get_parameter ('date', date(DATE_FORMAT));
|
||||
$time = (string) get_parameter ('time', date(TIME_FORMAT));
|
||||
$date = (string)get_parameter('date', date(DATE_FORMAT));
|
||||
$time = (string)get_parameter('time', date(TIME_FORMAT));
|
||||
|
||||
$datetime = strtotime ($date . ' ' . $time);
|
||||
$report["datetime"] = $datetime;
|
||||
|
||||
// Calculations in order to modify init date of the report
|
||||
$date_init_less = strtotime(date('Y-m-j')) - 86400;
|
||||
$date_init_less = strtotime(date('Y-m-j')) - SECONDS_1DAY;
|
||||
$date_init = get_parameter('date_init', date(DATE_FORMAT, $date_init_less));
|
||||
$time_init = get_parameter('time_init', date(TIME_FORMAT, $date_init_less));
|
||||
$datetime_init = strtotime ($date_init.' '.$time_init);
|
||||
$datetime_init = strtotime($date_init . ' ' . $time_init);
|
||||
$enable_init_date = get_parameter('enable_init_date', 0);
|
||||
|
||||
// Standard header
|
||||
|
|
Loading…
Reference in New Issue