From d23029185713bc624faa29f95746cbf165353a23 Mon Sep 17 00:00:00 2001 From: Alexander Killing Date: Wed, 24 Feb 2021 11:11:20 +0100 Subject: [PATCH] =?UTF-8?q?fixed=20limitation=20of=20last=20visited,=20#29?= =?UTF-8?q?053:=20MainMenu/LastVisited:=20Fehlerhaft=20Darstellung=20der?= =?UTF-8?q?=20'Zuletzt=20besucht'=20im=20Hauptmen=C3=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GlobalScreen/classes/RepositoryMainBarProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }