diff --git a/themes/bootstrap3/templates/RecordDriver/DefaultRecord/list-entry.phtml b/themes/bootstrap3/templates/RecordDriver/DefaultRecord/list-entry.phtml index e854591202ecef0324de03adaf2a756c4822c890..1e49139593bb87f39b0c2cbfab5ddc6c5d3470b5 100644 --- a/themes/bootstrap3/templates/RecordDriver/DefaultRecord/list-entry.phtml +++ b/themes/bootstrap3/templates/RecordDriver/DefaultRecord/list-entry.phtml @@ -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; ?>