fix: [ACL] a private function was missing the __ causing the ACL checker to return it as an unmapped accessible function

pull/5841/head
iglocska 2020-04-28 17:46:38 +02:00
parent 83985a2c4e
commit 30eeb4e39c
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 2 additions and 2 deletions

View File

@ -558,7 +558,7 @@ class AttributesController extends AppController
// combobox for distribution
$this->set('distributionLevels', $this->Attribute->distributionLevels);
$this->set('info', $this->getInfo());
$this->set('info', $this->__getInfo());
$this->loadModel('SharingGroup');
$sgs = $this->SharingGroup->fetchAllAuthorised($this->Auth->user(), 'name', 1);
@ -3230,7 +3230,7 @@ class AttributesController extends AppController
}
}
private function getInfo()
private function __getInfo()
{
$info = array('category' => array(), 'type' => array(), 'distribution' => array());
foreach ($this->Attribute->categoryDefinitions as $key => $value) {