From c36f156acaff30b9c512a022484f80fbfb237c95 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Mon, 12 Nov 2012 11:32:04 +0000 Subject: fix undeclared vars --- en/about/reports/template_lib.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/en/about/reports/template_lib.php b/en/about/reports/template_lib.php index 72bf48bd6..1d6911548 100644 --- a/en/about/reports/template_lib.php +++ b/en/about/reports/template_lib.php @@ -86,7 +86,14 @@ function get_revenues($v) $html .= ''; - $sums = array(); + $sums = array( + 'count' => 0, + 'total' => 0, + 'check' => 0, + 'xfer' => 0, + 'paypal' => 0, + 'cash' => 0 + ); foreach ($v as $line) { $html .= sprintf('%s%s -- cgit v1.2.1