mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-20 14:29:48 +02:00
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
This commit is contained in:
parent
f32ca6c9bd
commit
f8f4b1373f
@ -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']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user