X-Git-Url: https://git.rapsys.eu/packbundle/blobdiff_plain/788b26c7448da2f3625411555d8c3fcb43cad4ee..d5f78a323a5bc19a13e0fb360c52037bfc54bd09:/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;