#8355 replace in_array
This commit is contained in:
parent
3dd92397f9
commit
002ae85d64
|
@ -794,7 +794,7 @@ function tags_get_acl_tags(
|
|||
|
||||
$acltags = [];
|
||||
foreach ($raw_acltags as $group => $taglist) {
|
||||
if (!empty($id_group) && !in_array($group, $id_group)) {
|
||||
if (empty($id_group) === false && array_key_exists($group, $id_group) === false) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue