Skip to content

Commit

Permalink
fix for install error (mjoel/mamba)
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Apr 3, 2020
1 parent d20c8c0 commit 832b6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
'icon' => $pathIcon32 . '/block.png',
];

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

0 comments on commit 832b6aa

Please sign in to comment.