mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 13:59:29 +00:00
Fix issue with previous commit.
This commit is contained in:
parent
796a325590
commit
d058ce1f74
@ -71,7 +71,7 @@ class GroupsController {
|
||||
$groupID = getPostGroupIdWithAccess("id", GroupInfo::LIMITED_ACCESS);
|
||||
|
||||
//Get information about the group
|
||||
$group = components()->groups->get_info($id);
|
||||
$group = components()->groups->get_info($groupID);
|
||||
|
||||
//Check if the group was not found
|
||||
if(!$group->isValid())
|
||||
@ -92,7 +92,7 @@ class GroupsController {
|
||||
$groupID = getPostGroupIdWithAccess("id", GroupInfo::VIEW_ACCESS);
|
||||
|
||||
//Get information about the group
|
||||
$group = components()->groups->get_advanced_info($id);
|
||||
$group = components()->groups->get_advanced_info($groupID);
|
||||
|
||||
//Check if the group was not found
|
||||
if(!$group->isValid())
|
||||
|
Loading…
Reference in New Issue
Block a user