FIX check if numeric value
This commit is contained in:
parent
ce37323f69
commit
f14de50bd7
@ -519,8 +519,10 @@ function getNumberInvoicesPieChart($mode)
|
|||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
if (!empty($dataseries[0])) {
|
if (!empty($dataseries[0])) {
|
||||||
foreach ($dataseries[0] as $key=>$value) {
|
foreach ($dataseries[0] as $key => $value) {
|
||||||
$total += $value;
|
if (is_numeric($value)) {
|
||||||
|
$total += $value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$legend = array(
|
$legend = array(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user