Skip to content

Commit 515c7d0

Browse files
committed
fix menu
1 parent be5f8d9 commit 515c7d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

admin/menu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
'icon' => $pathIcon32 . 'mail_foward.png',
9292
];
9393

94-
if ($helper->getConfig('displayDeveloperTools')) {
94+
if (is_object($helper->getModule()) && $helper->getConfig('displayDeveloperTools')) {
9595
$adminmenu[] = [
9696
'title' => constant('CO_' . $moduleDirNameUpper . '_' . 'ADMENU_MIGRATE'),
9797
'link' => 'admin/migrate.php',

0 commit comments

Comments
 (0)