Skip to content

Commit

Permalink
fix bug for collections in list-entry.phtml
Browse files Browse the repository at this point in the history
  • Loading branch information
elsenhans committed Dec 18, 2023
1 parent 02e5568 commit cf4253a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@
<?=$this->transEsc('Published') . ' ' . $this->escapeHtml($summDate[0])?>
<?php endif; ?>
<?php $summInCollection = $this->driver->getContainingCollections(); ?>
<?php if (false && !empty($summInCollection)): ?>
<?php if (!empty($summInCollection)): ?>
<?php foreach ($summInCollection as $collId => $collText): ?>
<div>
<b><?=$this->transEsc('in_collection_label')?></b>
<a class="collectionLinkText" href="<?=$this->record($this->driver)->getLink('collection', $collid)?>">
<a class="collectionLinkText" href="<?=$this->record($this->driver)->getLink('collection', $collId)?>">
<?=$this->escapeHtml($collText)?>
</a>
</div>
Expand Down

0 comments on commit cf4253a

Please sign in to comment.