diff --git a/pandora_console/include/graphs/pChart/pDraw.class.php b/pandora_console/include/graphs/pChart/pDraw.class.php index 814f4ec824..300d2f49ba 100755 --- a/pandora_console/include/graphs/pChart/pDraw.class.php +++ b/pandora_console/include/graphs/pChart/pDraw.class.php @@ -2556,6 +2556,7 @@ if (floor($Value2) == 0) { return(0); } if (is_infinite($Value2)) { return(0); } if ($Value2 == 0.0) { return(0); } + if ($Value1 > $Value2) { return(0); } if ($this->mod_check($Value1, $Value2)) { return(0); } if (floor($Value2) != 0) { return($Value1 % $Value2); }