Fixing style errors.
This commit is contained in:
parent
2c810988a6
commit
3209d550c2
@ -1131,12 +1131,12 @@ class DolGraph
|
||||
*/
|
||||
public function total()
|
||||
{
|
||||
$value = 0;
|
||||
foreach($this->data as $valarray) // Loop on each x
|
||||
$value = 0;
|
||||
foreach($this->data as $valarray) // Loop on each x
|
||||
{
|
||||
$value += $valarray[1];
|
||||
}
|
||||
return $value;
|
||||
$value += $valarray[1];
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user