mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Fix : foreach optimized
This commit is contained in:
@@ -640,6 +640,7 @@ $openedDashBoardSize = 'info-box-sm'; // use sm by default
|
||||
foreach ($dashboardgroup as $dashbordelement){
|
||||
if(is_array($dashbordelement['stats']) && count($dashbordelement['stats'])>2){
|
||||
$openedDashBoardSize = ''; // use default info box size : big
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user