mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/12759] Little code cleanup
PHPBB3-12759
This commit is contained in:
@@ -74,11 +74,7 @@ class lang_helper
|
||||
{
|
||||
if (is_array($field_id))
|
||||
{
|
||||
foreach ($field_id as $k => $id)
|
||||
{
|
||||
$field_id[$k] = (int) $id;
|
||||
}
|
||||
$field_id = array_unique($field_id);
|
||||
$field_id = array_map('intval', array_unique($field_id));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user