X-Git-Url: https://git.rapsys.eu/packbundle/blobdiff_plain/c7dcc60c9db6d68fb6387d5590de950ab370750f..refs/heads/master:/Util/ImageUtil.php diff --git a/Util/ImageUtil.php b/Util/ImageUtil.php index a556dd8..8a93c52 100644 --- a/Util/ImageUtil.php +++ b/Util/ImageUtil.php @@ -73,10 +73,10 @@ class ImageUtil { $a = $random % 10; //Set b - $b = $random / 10 % 10; + $b = intval($random / 10) % 10; //Set c - $c = $random / 100 % 10; + $c = intval($random / 100) % 10; //Set equation $equation = $a.' * '.$b.' + '.$c;