Fix relative path

This commit is contained in:
Dennis Eichhorn 2019-02-11 17:24:35 +01:00
parent b42096b519
commit 4b68ec92fd

View File

@ -30,7 +30,7 @@ echo $this->getData('nav')->render(); ?>
<tr>
<td colspan="3">
<tbody>
<?php $count = 0; foreach ($docs as $key => $value) : $count++;
<?php $count = 0; foreach ($docs as $key => $value) : ++$count;
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/editor/single?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>">
<td data-label="<?= $this->getHtml('Title') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getTitle()); ?></a>