Fix relative path

This commit is contained in:
Dennis Eichhorn 2019-02-11 17:24:35 +01:00
parent 5e5b2914a4
commit ee3868b6c2

View File

@ -36,7 +36,7 @@ $accounts = $this->getData('accounts');
<tr>
<td colspan="3">
<tbody>
<?php $count = 0; foreach ($accounts as $key => $account) : $count++;
<?php $count = 0; foreach ($accounts as $key => $account) : ++$count;
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/profile/single?{?}&id=' . $account->getAccount()->getId()); ?>
<tr data-href="<?= $url; ?>">
<td data-label="<?= $this->getHtml('ID', 0, 0) ?>"><a href="<?= $url; ?>"><?= $this->printHtml($account->getAccount()->getId()); ?></a>