Skip to content
Snippets Groups Projects
Commit 04d0b5fa authored by Demian Katz's avatar Demian Katz Committed by Robert Lange
Browse files

Prevent notice.

parent 40721432
Branches
Tags
No related merge requests found
......@@ -105,7 +105,7 @@
<?php endforeach; ?>
<?php endif; ?>
<?php if (count($this->lists) > 0): ?>
<?php if (count($this->lists ?? []) > 0): ?>
<strong><?=$this->transEsc('Saved in')?>:</strong>
<?php $i = 0;foreach($this->lists as $current): ?>
<a href="<?=$this->url('userList', ['id' => $current->id])?>"><?=$this->escapeHtml($current->title)?></a><?php if($i++ < count($this->lists) - 1): ?>,<?php endif; ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment