From f8f4b1373fb40bb069fe169426f921b649d1f46b Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Sun, 14 Jun 2009 22:38:00 +0000 Subject: [PATCH] Addition to r9577: Remove unnecessary integer casting. request_var() already does that. Authorised by: acydburn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9593 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/ucp/ucp_zebra.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/phpBB/includes/ucp/ucp_zebra.php b/phpBB/includes/ucp/ucp_zebra.php index c853c47026..50fcbed90e 100644 --- a/phpBB/includes/ucp/ucp_zebra.php +++ b/phpBB/includes/ucp/ucp_zebra.php @@ -55,9 +55,6 @@ class ucp_zebra // Remove users if (!empty($data['usernames'])) { - // Force integer values - $data['usernames'] = array_map('intval', $data['usernames']); - $sql = 'DELETE FROM ' . ZEBRA_TABLE . ' WHERE user_id = ' . $user->data['user_id'] . ' AND ' . $db->sql_in_set('zebra_id', $data['usernames']);