mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
#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…
x
Reference in New Issue
Block a user