mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Fix api get group by id bug
This commit is contained in:
parent
62775e0dae
commit
796f083730
@ -16741,7 +16741,7 @@ function api_get_group_id_by_name($thrash1, $thrash2, $other, $thrash3)
|
||||
|
||||
$sql = sprintf(
|
||||
'SELECT id_grupo
|
||||
FROM tgrupo WHERE nombre = "'.$other['data'].'"'
|
||||
FROM tgrupo WHERE nombre = "'.$group_id.'"'
|
||||
);
|
||||
|
||||
$group_id = db_get_all_rows_sql($sql);
|
||||
|
Loading…
x
Reference in New Issue
Block a user