From c7767418851aba9c476b79f82404b466491af3a9 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 19 May 2019 19:08:35 +0200 Subject: [PATCH] Fix increment to pre-increment --- Theme/Backend/department-list.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php index 4178be3..19e540d 100644 --- a/Theme/Backend/department-list.tpl.php +++ b/Theme/Backend/department-list.tpl.php @@ -37,7 +37,7 @@ echo $this->getData('nav')->render(); ?> - getData('list:elements') as $key => $value) : $c++; + getData('list:elements') as $key => $value) : ++$c; $url = \phpOMS\Uri\UriFactory::build('{/prefix}organization/department/profile?{?}&id=' . $value->getId()); ?> printHtml($value->getId()); ?>