projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rerun of last commit. A minor bug was detected.
[fa-stable.git]
/
includes
/
dashboard.inc
diff --git
a/includes/dashboard.inc
b/includes/dashboard.inc
index 4b552cfb33d0677649c01e2a12264fdfe4695c6d..b4b847d496f88e3cb71a143e7543eb7e9a4d7394 100644
(file)
--- a/
includes/dashboard.inc
+++ b/
includes/dashboard.inc
@@
-413,8
+413,8
@@
function gl_performance($today, $width="33", $weeks=5)
while ($myrow = db_fetch($result))
{
$pg->x[$i] = $myrow['week_name'];
- $pg->y[$i] =
abs($myrow['sales'])
;
- $pg->z[$i] =
abs($myrow['costs'])
;
+ $pg->y[$i] =
$myrow['sales']
;
+ $pg->z[$i] =
$myrow['costs']
;
$i++;
}
$pg->x = array_reverse($pg->x);