projects
/
fusionforge
/
fusionforge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix PHP warning
[fusionforge/fusionforge.git]
/
src
/
common
/
reporting
/
report_utils.php
diff --git
a/src/common/reporting/report_utils.php
b/src/common/reporting/report_utils.php
index 6d98e359e119eb17ada42c646afba89bf1ae00d9..e1ce264c384c2fa6017ee61bd79e8dfdc42f9db8 100644
(file)
--- a/
src/common/reporting/report_utils.php
+++ b/
src/common/reporting/report_utils.php
@@
-214,6
+214,8
@@
function report_time_category_box($name='category',$selected=false) {
//
function report_pie_arr($labels, $vals, $format=1) {
global $pie_labels,$pie_vals;
+
+ $total = 0;
//first get sum of all values
for ($i=0; $i<count($vals); $i++) {
$total += $vals[$i];