Fix increment to pre-increment

This commit is contained in:
Dennis Eichhorn 2019-05-19 19:08:35 +02:00
parent c4c3df28c2
commit a1792e9a2a

View File

@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?>
<tfoot>
<tr><td colspan="8">
<tbody>
<?php $c = 0; foreach ([] as $key => $value) : $c++;
<?php $c = 0; foreach ([] as $key => $value) : ++$c;
$url = \phpOMS\Uri\UriFactory::build('{/prefix}business/department/profile?{?}&id=' . $value->getId()); ?>
<tr>
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>