Skip to content

Commit

Permalink
fixed limitation of last visited, #29053: MainMenu/LastVisited: Fehle…
Browse files Browse the repository at this point in the history
…rhaft Darstellung der 'Zuletzt besucht' im Hauptmenü
  • Loading branch information
alex40724 committed Feb 24, 2021
1 parent c92f0b0 commit d230291
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d230291

Please sign in to comment.