#8355 replace in_array

This commit is contained in:
Daniel Maya 2021-12-10 10:58:14 +01:00
parent 3dd92397f9
commit 002ae85d64
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}