Fix : foreach optimized
This commit is contained in:
parent
717ea523e9
commit
2a068030e5
@ -640,6 +640,7 @@ $openedDashBoardSize = 'info-box-sm'; // use sm by default
|
|||||||
foreach ($dashboardgroup as $dashbordelement){
|
foreach ($dashboardgroup as $dashbordelement){
|
||||||
if(is_array($dashbordelement['stats']) && count($dashbordelement['stats'])>2){
|
if(is_array($dashbordelement['stats']) && count($dashbordelement['stats'])>2){
|
||||||
$openedDashBoardSize = ''; // use default info box size : big
|
$openedDashBoardSize = ''; // use default info box size : big
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user