diff --git a/manager/actions/welcome.static.php b/manager/actions/welcome.static.php index 8010e10453..e39f229748 100644 --- a/manager/actions/welcome.static.php +++ b/manager/actions/welcome.static.php @@ -362,7 +362,7 @@ foreach($sitewidgets as $widget){ $newwidgets = array_merge($newwidgets, unserialize($widget)); } - $widgets = $newwidgets; + $widgets = (count($newwidgets) > 0) ? $newwidgets : $widgets; } usort($widgets, function ($a, $b) {