Fix issue with previous commit.

This commit is contained in:
Pierre HUBERT 2018-07-04 17:31:48 +02:00
parent 796a325590
commit d058ce1f74

View File

@ -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())