diff --git a/extend/base/Verify.php b/extend/base/Verify.php index e98f8af5c..e6775e828 100755 --- a/extend/base/Verify.php +++ b/extend/base/Verify.php @@ -124,7 +124,7 @@ class Verify { $temp_height = $this->height-15; } - imagestring($this->img, rand(3,5), $k*$each_width+$first, rand(5/100*$this->height,$temp_height), strtoupper($v), $fgcolor); + imagestring($this->img, rand(3,5), intval($k*$each_width+$first), rand(intval(5/100*$this->height), $temp_height), strtoupper($v), $fgcolor); } // ē§session