Skip to content

Commit

Permalink
fixed framework modules status issue on marketplace
Browse files Browse the repository at this point in the history
  • Loading branch information
jerremeirago committed Nov 20, 2020
1 parent c6585a6 commit f4d6bf0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Service/MelisModulesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,14 @@ public function getVendorModules()
if (!empty($extra)) {

if (property_exists($extra, 'melis-module')) {
$tmp = (array)$extra;
$modulePath = null;
if (! empty($tmp)) {
$moduleName = isset($tmp['module-name']) ? $tmp['module-name'] : null;
$modulePath = $this->getModulePath($moduleName);
}
$key = 'melis-module';
if (!$extra->$key)
if (!$extra->$key && empty($modulePath))
$isMelisModule = false;
}

Expand Down

0 comments on commit f4d6bf0

Please sign in to comment.