Fix increment to pre-increment

This commit is contained in:
Dennis Eichhorn 2019-05-19 19:08:35 +02:00
parent 8324b61b82
commit 41f8f91c16
5 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

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

View File

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

View File

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