fix: [Collections] path pluralisation fix inb acl check for collections, fixes #9745

- no longer breaks collections index
pull/9681/merge
iglocska 2024-05-22 12:00:31 +02:00
parent 92a07b01a4
commit 71f8e125e5
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ $divider = '<li class="divider"></li>';
'url' => $baseurl . '/collections/index',
'text' => __('List Collections')
));
if ($this->Acl->canAccess('collection', 'add')) {
if ($this->Acl->canAccess('collections', 'add')) {
echo $this->element('/genericElements/SideMenu/side_menu_link', array(
'element_id' => 'add',
'url' => $baseurl . '/collections/add',