From f4b5370c2d8148f3e647d6d037b9240ac0e73e86 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Wed, 16 Feb 2022 14:46:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E9=AA=8C=E8=AF=81=E7=A0=81?= =?UTF-8?q?=E7=B2=BE=E5=BA=A6=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/base/Verify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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