From 835a2c232fa440144f26d307a25a9474ccb8c919 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 11 Apr 2011 11:58:56 -0400 Subject: [PATCH] Fix for Bug 6159 - Variable scope errors prevent placing holds in the OPAC Content-Type: text/plain; charset="utf-8" --- .../opac-tmpl/prog/en/modules/opac-reserve.tt | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt index 742851d..4b72bc9 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt @@ -267,7 +267,7 @@ [% ELSE %] - [% UNLESS ( bibitemloo.none_available ) %] [% END %] + [% UNLESS ( none_available ) %] [% END %] [% END %] [% IF ( bibitemloo.holdable ) %][% ELSE %][% END %] [% bibitemloo.title |html %][% IF ( bibitemloo.subtitle ) %] [% FOREACH subtitl IN bibitemloo.subtitle %][% subtitl.subfield %][% END %][% END %] @@ -296,11 +296,11 @@ [% END %][% END %] [% IF ( bibitemloo.holdable ) %] - [% IF ( bibitemloo.showpriority ) %] + [% IF ( showpriority ) %] [% bibitemloo.rank %] out of [% bibitemloo.reservecount %] [% END %][% END %] - [% IF ( bibitemloo.reserve_in_future ) %] + [% IF ( reserve_in_future ) %] [% IF ( bibitemloo.holdable ) %]