mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-26 11:29:12 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_array($other) === true) {
|
if (is_array($other['data']) === true) {
|
||||||
$group_id = $other['data'][0];
|
$group_id = $other['data'][0];
|
||||||
} else {
|
} else {
|
||||||
$group_id = $other['data'];
|
$group_id = $other['data'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user