From 32f8b00dabd50231473019ecf06d243f745a494b Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Wed, 29 May 2013 22:47:21 +0000 Subject: skip empty lines in the report --- en/about/reports/template_lib.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'en/about/reports/template_lib.php') diff --git a/en/about/reports/template_lib.php b/en/about/reports/template_lib.php index 37c101971..419ff103c 100644 --- a/en/about/reports/template_lib.php +++ b/en/about/reports/template_lib.php @@ -94,6 +94,9 @@ function get_revenues($v, $_months) ); foreach ($v as $line) { + if (count($line) < 2) + continue; + $html .= sprintf('%s%s %s %s -- cgit v1.2.1