fixed errors in dashboard widget groups status
This commit is contained in:
parent
941dfc2b62
commit
af87e8c621
|
@ -183,7 +183,9 @@ class SystemGroupStatusWidget extends Widget
|
|||
$values = parent::decoders($decoder);
|
||||
|
||||
if (isset($decoder['status']) === true) {
|
||||
if (is_array($decoder['status']) === true) {
|
||||
if (is_array($decoder['status']) === true
|
||||
&& count($decoder['status']) > 1
|
||||
) {
|
||||
$compatibilityStatus = [];
|
||||
foreach ($decoder['status'] as $key => $value) {
|
||||
switch ((int) $value) {
|
||||
|
|
Loading…
Reference in New Issue