aboutsummaryrefslogtreecommitdiffstats
path: root/en/about
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-11-12 11:32:04 +0000
committerRomain d'Alverny <rda@mageia.org>2012-11-12 11:32:04 +0000
commitc36f156acaff30b9c512a022484f80fbfb237c95 (patch)
tree3e4950d4d21d121e05ccfdc545275e80a9ee2621 /en/about
parente79e3a3a4c5123f270475af971738d2d375ea889 (diff)
downloadwww-c36f156acaff30b9c512a022484f80fbfb237c95.tar
www-c36f156acaff30b9c512a022484f80fbfb237c95.tar.gz
www-c36f156acaff30b9c512a022484f80fbfb237c95.tar.bz2
www-c36f156acaff30b9c512a022484f80fbfb237c95.tar.xz
www-c36f156acaff30b9c512a022484f80fbfb237c95.zip
fix undeclared vars
Diffstat (limited to 'en/about')
-rw-r--r--en/about/reports/template_lib.php9
1 files changed, 8 insertions, 1 deletions
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 .= '<tbody>';
- $sums = array();
+ $sums = array(
+ 'count' => 0,
+ 'total' => 0,
+ 'check' => 0,
+ 'xfer' => 0,
+ 'paypal' => 0,
+ 'cash' => 0
+ );
foreach ($v as $line) {
$html .= sprintf('<tr><td>%s</td><td>%s</td>