aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop/repair_bots.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/develop/repair_bots.php')
-rwxr-xr-xphpBB/develop/repair_bots.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/develop/repair_bots.php b/phpBB/develop/repair_bots.php
index c5aaa75d9b..4dae1e1091 100755
--- a/phpBB/develop/repair_bots.php
+++ b/phpBB/develop/repair_bots.php
@@ -98,7 +98,7 @@ function add_bots($bots)
$sql = 'SELECT group_id FROM ' . GROUPS_TABLE . " WHERE group_name = 'BOTS'";
$result = $db->sql_query($sql);
- $group_id = (int) $db->sql_fetchfield('group_id', false, $result);
+ $group_id = (int) $db->sql_fetchfield('group_id', $result);
$db->sql_freeresult($result);
$db->sql_query('TRUNCATE TABLE ' . BOTS_TABLE);
@@ -108,7 +108,7 @@ function add_bots($bots)
$sql = 'SELECT group_id FROM ' . GROUPS_TABLE . " WHERE group_name = 'BOTS'";
$result = $db->sql_query($sql);
- $group_id = (int) $db->sql_fetchfield('group_id', false, $result);
+ $group_id = (int) $db->sql_fetchfield('group_id', $result);
$db->sql_freeresult($result);
}