mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Minor fix
This commit is contained in:
parent
a68512ae0c
commit
bf70b9bfba
@ -616,12 +616,9 @@ function tags_get_acl_tags($id_user, $id_group, $access = 'AR', $return_mode = '
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((int)$id_group === 0) {
|
if ($id_group == 0) {
|
||||||
$id_group = array_keys(users_get_groups($id_user, $access, false));
|
// Don't filter
|
||||||
|
$id_group = array();
|
||||||
if (empty($id_group)) {
|
|
||||||
return ERR_WRONG_PARAMETERS;
|
|
||||||
}$id_group = array();
|
|
||||||
}
|
}
|
||||||
elseif (empty($id_group)) {
|
elseif (empty($id_group)) {
|
||||||
return ERR_WRONG_PARAMETERS;
|
return ERR_WRONG_PARAMETERS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user