diff --git a/pandora_console/include/rest-api/index.php b/pandora_console/include/rest-api/index.php index ae8f68af8c..cdc92f1c4b 100644 --- a/pandora_console/include/rest-api/index.php +++ b/pandora_console/include/rest-api/index.php @@ -84,7 +84,7 @@ if ($getVisualConsole === true) { // Check also the group Id for the group item. if ($itemType === GROUP_ITEM) { - $itemGroupId = $itemData['aclGroupId']; + $itemGroupId = $itemData['groupId']; // ACL. $aclRead = check_acl($config['id_user'], $itemGroupId, 'VR'); $aclWrite = check_acl($config['id_user'], $itemGroupId, 'VW');