mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-19 01:38:54 +00: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
1 changed files with 0 additions and 3 deletions
|
@ -55,9 +55,6 @@ class ucp_zebra
|
||||||
// Remove users
|
// Remove users
|
||||||
if (!empty($data['usernames']))
|
if (!empty($data['usernames']))
|
||||||
{
|
{
|
||||||
// Force integer values
|
|
||||||
$data['usernames'] = array_map('intval', $data['usernames']);
|
|
||||||
|
|
||||||
$sql = 'DELETE FROM ' . ZEBRA_TABLE . '
|
$sql = 'DELETE FROM ' . ZEBRA_TABLE . '
|
||||||
WHERE user_id = ' . $user->data['user_id'] . '
|
WHERE user_id = ' . $user->data['user_id'] . '
|
||||||
AND ' . $db->sql_in_set('zebra_id', $data['usernames']);
|
AND ' . $db->sql_in_set('zebra_id', $data['usernames']);
|
||||||
|
|
Loading…
Add table
Reference in a new issue