From 1a59e663c65821583bca8099e41bd7b3a7e37d8d Mon Sep 17 00:00:00 2001 From: fowr <89118232+perdedora@users.noreply.github.com> Date: Fri, 21 Jul 2023 22:50:17 -0300 Subject: [PATCH] anti-bot.php: fix implicit conversion from float --- inc/anti-bot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/anti-bot.php b/inc/anti-bot.php index 48150328..29279296 100644 --- a/inc/anti-bot.php +++ b/inc/anti-bot.php @@ -123,7 +123,7 @@ class AntiBot { $html = ''; if ($count === false) { - $count = mt_rand(1, abs(count($this->inputs) / 15) + 1); + $count = mt_rand(1, (int)abs(count($this->inputs) / 15) + 1); } if ($count === true) {