mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12759] Little code cleanup
PHPBB3-12759
This commit is contained in:
parent
6251d68be4
commit
51bc31da20
1 changed files with 1 additions and 5 deletions
|
@ -74,11 +74,7 @@ class lang_helper
|
||||||
{
|
{
|
||||||
if (is_array($field_id))
|
if (is_array($field_id))
|
||||||
{
|
{
|
||||||
foreach ($field_id as $k => $id)
|
$field_id = array_map('intval', array_unique($field_id));
|
||||||
{
|
|
||||||
$field_id[$k] = (int) $id;
|
|
||||||
}
|
|
||||||
$field_id = array_unique($field_id);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue