Fixed problems with pChart when any value is 0. Tiquet: #3053
This commit is contained in:
parent
1bfd1590a8
commit
53065646b0
|
@ -2548,6 +2548,7 @@
|
|||
|
||||
function modulo($Value1,$Value2)
|
||||
{
|
||||
if (floor($Value1) == 0) { return(0); }
|
||||
if (floor($Value2) == 0) { return(0); }
|
||||
if (floor($Value2) != 0) { return($Value1 % $Value2); }
|
||||
|
||||
|
|
Loading…
Reference in New Issue