mirror of
https://github.com/Karaka-Management/oms-Knowledgebase.git
synced 2026-02-14 09:18:40 +00:00
Fix increment to pre-increment
This commit is contained in:
parent
f4f88630f3
commit
2020abd886
|
|
@ -31,7 +31,7 @@ echo $this->getData('nav')->render();
|
||||||
<tfoot>
|
<tfoot>
|
||||||
<tr><td colspan="2">
|
<tr><td colspan="2">
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $c = 0; foreach ($categories as $key => $value) : $c++;
|
<?php $c = 0; foreach ($categories as $key => $value) : ++$c;
|
||||||
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/account/settings?{?}&id=' . $value->getId()); ?>
|
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/account/settings?{?}&id=' . $value->getId()); ?>
|
||||||
<tr data-href="<?= $url; ?>">
|
<tr data-href="<?= $url; ?>">
|
||||||
<td data-label="<?= $this->getHtml('ID', '0', '0') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>
|
<td data-label="<?= $this->getHtml('ID', '0', '0') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user