From e79884d1c854f282bf60c55e1e6acc90d0922ad5 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Mon, 2 Jan 2023 01:34:54 +0100 Subject: [PATCH] oops --- _admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_admin.php b/_admin.php index f10d9ae..4c18b71 100644 --- a/_admin.php +++ b/_admin.php @@ -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) {