@@ -, +, @@
---
.../opac-tmpl/bootstrap/en/modules/opac-course-details.tt | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt
@@ -87,7 +87,11 @@
[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => cr.item.ccode, opac => 1 ) | html %] |
[% cr.item.itemcallnumber | html %] |
[% cr.item.copynumber | html %] |
- [% INCLUDE 'item-status.inc' item=cr.item issue=cr.issue show_recall_link=Koha.Preference('UseRecalls') %] |
+
+ [% IF cr.item %]
+ [% INCLUDE 'item-status.inc' item=cr.item issue=cr.issue show_recall_link=Koha.Preference('UseRecalls') %]
+ [% END %]
+ |
[% cr.issue.date_due | $KohaDates as_due_date => 1 %] |
[% IF ( cr.public_note ) %]
[% cr.public_note | $raw %]
--
|