mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ class lang_helper
|
|||
{
|
||||
$field_id[$k] = (int) $id;
|
||||
}
|
||||
$field_id = array_unique($field_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue