1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-31 12:23:48 +01:00

anti-bot.php: fix implicit conversion from float

This commit is contained in:
fowr 2023-07-21 22:50:17 -03:00 committed by Zankaria
parent 010ab2bf62
commit 1a59e663c6

View File

@ -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) {