aboutsummaryrefslogtreecommitdiffstats
path: root/en/about/reports/template_lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/about/reports/template_lib.php')
-rw-r--r--en/about/reports/template_lib.php3
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>