diff --git a/zc_plugins/SalesReport/v4.0.0/admin/stats_sales_report2.php b/zc_plugins/SalesReport/v4.0.0/admin/stats_sales_report2.php index 2617918..f1a72b7 100644 --- a/zc_plugins/SalesReport/v4.0.0/admin/stats_sales_report2.php +++ b/zc_plugins/SalesReport/v4.0.0/admin/stats_sales_report2.php @@ -914,7 +914,7 @@ } // display the timeframe totals line, if necessary - if ($sr->detail_level !== 'timeframe') { + if ($sr->detail_level !== 'timeframe' && (isset($timeframe['total']) || DISPLAY_EMPTY_TIMEFRAMES === true)) { ?> @@ -979,7 +979,7 @@ ?>