Fix : foreach optimized

This commit is contained in:
ATM john 2019-08-13 16:01:15 +02:00
parent 717ea523e9
commit 2a068030e5

View File

@ -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;
} }
} }