Fixed minor bugs and format

This commit is contained in:
Luis Calvo 2019-07-22 16:08:01 +02:00
parent ffec3150d4
commit 64d93d98ed

View File

@ -12093,7 +12093,7 @@ function reporting_label_macro($item, $label)
*/ */
function reporting_sql_macro(array $report, string $sql): string function reporting_sql_macro(array $report, string $sql): string
{ {
if (preg_match('/_timefrom/', $sql)) { if (preg_match('/_timefrom_/', $sql)) {
$sql = str_replace( $sql = str_replace(
'_timefrom_', '_timefrom_',
$report['datetime'], $report['datetime'],