summaryrefslogtreecommitdiff
path: root/inc/anti-bot.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/anti-bot.php')
-rw-r--r--inc/anti-bot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/anti-bot.php b/inc/anti-bot.php
index 59f5351f..4c321176 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) {