Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-mw committed Jun 30, 2022
1 parent 187e949 commit def0a6d
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -626,8 +626,11 @@ private function _getMarketTemplatesForInstallScreen()
$runner = new Client();
$results = $runner->search();

if ($results) {
if ($results and is_array($results)) {
foreach ($results as $k => $result) {
if (!is_array($result)) {
continue;
}
$latestVersion = end($result);
if (!isset($latestVersion['type'])) {
continue;
Expand All @@ -639,6 +642,7 @@ private function _getMarketTemplatesForInstallScreen()
$ready[] = MicroweberComposerPackage::format($latestVersion);
}*/
$ready[] = MicroweberComposerPackage::format($latestVersion);

}
}

Expand Down

0 comments on commit def0a6d

Please sign in to comment.