mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-26 03:19:05 +02:00
Fix api get group by id bug with or withouth url encode separator
This commit is contained in:
parent
796f083730
commit
698ddd47df
@ -16733,7 +16733,7 @@ function api_get_group_id_by_name($thrash1, $thrash2, $other, $thrash3)
|
||||
return;
|
||||
}
|
||||
|
||||
if (is_array($other) === true) {
|
||||
if (is_array($other['data']) === true) {
|
||||
$group_id = $other['data'][0];
|
||||
} else {
|
||||
$group_id = $other['data'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user