@@ -, +, @@ --- .../prog/en/modules/course_reserves/course-details.tt | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt @@ -90,7 +90,9 @@ [% END %] [% ELSE %] Unchanged - ([% ItemTypes.GetDescription( cr.item.itype ) %]) + [% IF cr.item.itype %] + ([% ItemTypes.GetDescription( cr.item.itype ) %]) + [% END %] [% END %] [% END %] @@ -103,7 +105,9 @@ [% END %] [% ELSE %] Unchanged - ([% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) %]) + [% IF cr.item.ccode %] + ([% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) %]) + [% END %] [% END %] @@ -115,7 +119,9 @@ [% END %] [% ELSE %] Unchanged - ([% AuthorisedValues.GetByCode( 'LOC', cr.item.location ) %]) + [% IF cr.item.location %] + ([% AuthorisedValues.GetByCode( 'LOC', cr.item.location ) %]) + [% END %] [% END %] @@ -127,7 +133,9 @@ [% END %] [% ELSE %] Unchanged - ([% Branches.GetName( cr.item.holdingbranch ) %]) + [% IF cr.item.holdingbranch %] + ([% Branches.GetName( cr.item.holdingbranch ) %]) + [% END %] [% END %] [% cr.staff_note %] --