diff --git a/pandora_console/include/graphs/pChart/pDraw.class.php b/pandora_console/include/graphs/pChart/pDraw.class.php index cbf2be7f61..13efd86886 100755 --- a/pandora_console/include/graphs/pChart/pDraw.class.php +++ b/pandora_console/include/graphs/pChart/pDraw.class.php @@ -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); }