Merge branch 'ent-6054-Dashboard-group-status-mas-de-1-grupo' into 'develop'
fixed errors in dashboard widget groups status See merge request artica/pandorafms!3369
This commit is contained in:
commit
c86ec629cd
|
@ -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