diff options
author | Romain d'Alverny <rda@mageia.org> | 2013-05-29 22:47:21 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2013-05-29 22:47:21 +0000 |
commit | 32f8b00dabd50231473019ecf06d243f745a494b (patch) | |
tree | c6a92df8e031b7bb16d28a69d0040ca538c64184 /en/about/reports/template_lib.php | |
parent | f39b7a5699939610cf452eccb0b8d37dd5c4f7f4 (diff) | |
download | www-32f8b00dabd50231473019ecf06d243f745a494b.tar www-32f8b00dabd50231473019ecf06d243f745a494b.tar.gz www-32f8b00dabd50231473019ecf06d243f745a494b.tar.bz2 www-32f8b00dabd50231473019ecf06d243f745a494b.tar.xz www-32f8b00dabd50231473019ecf06d243f745a494b.zip |
skip empty lines in the report
Diffstat (limited to 'en/about/reports/template_lib.php')
-rw-r--r-- | en/about/reports/template_lib.php | 3 |
1 files changed, 3 insertions, 0 deletions
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('<tr><td>%s</td><td>%s</td> <td class="money">%s</td> <td class="money">%s</td> |