diff --git a/module/block/control.php b/module/block/control.php index 97df201fb7..03d96eef00 100644 --- a/module/block/control.php +++ b/module/block/control.php @@ -1704,11 +1704,10 @@ class block extends control foreach($executions as $index => $execution) { - if(!empty($execution->children)) - { - foreach($execution->children as $child) $executions[] = $child; - unset($executions[$index]); - } + if(empty($execution->children)) continue; + + foreach($execution->children as $child) $executions[] = $child; + unset($executions[$index]); } $this->view->executionStats = $executions;