Fixed problems with pChart when any value is 0. Tiquet: #3053

This commit is contained in:
m-lopez-f 2015-12-10 12:57:42 +01:00
parent 1bfd1590a8
commit 53065646b0
1 changed files with 1 additions and 0 deletions

View File

@ -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); }