This commit is contained in:
Jean-Christian 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) {