This commit is contained in:
Jean-Christian Paul Denis 2023-01-02 01:34:54 +01:00
parent 476a6bfc7c
commit e79884d1c8
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -37,7 +37,7 @@ dcCore::app()->addBehaviors([
]);
},
'adminSimpleMenuAddType' => function (ArrayObject $items) {
$items['comListe'] = new ArrayObject([__('Comments list'), false]);
$items[basename(__DIR__)] = new ArrayObject([__('Comments list'), false]);
},
'adminSimpleMenuBeforeEdit' => function ($type, $select, &$item) {
if (basename(__DIR__) == $type) {