mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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…
x
Reference in New Issue
Block a user