diff --git a/Services/Repository/GlobalScreen/classes/RepositoryMainBarProvider.php b/Services/Repository/GlobalScreen/classes/RepositoryMainBarProvider.php index ea94fdf02c9c..dae9100f1d09 100644 --- a/Services/Repository/GlobalScreen/classes/RepositoryMainBarProvider.php +++ b/Services/Repository/GlobalScreen/classes/RepositoryMainBarProvider.php @@ -153,7 +153,7 @@ protected function renderLastVisited() $f = $this->dic->ui()->factory(); foreach ($nav_items as $k => $nav_item) { - if ($cnt >= 10) { + if ($cnt++ >= 10) { break; }