mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-13 04:13:29 +02:00
[ticket/12759] Make sure $field_id has unique elements
Otherwise it would cause a bunch of repetitive IDs passed to the IN clause PHPBB3-12759
This commit is contained in:
parent
aebe03f88c
commit
6251d68be4
@ -78,6 +78,7 @@ class lang_helper
|
||||
{
|
||||
$field_id[$k] = (int) $id;
|
||||
}
|
||||
$field_id = array_unique($field_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user