From 9f7542dbab16c5c8baadd863ec3b4e3b94ea3e77 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 11 Apr 2011 12:05:31 -0400 Subject: [PATCH] Fix for Bug 6159 - Variable scope errors prevent placing holds in the OPAC Signed-off-by: Chris Cormack --- .../opac-tmpl/prog/en/modules/opac-reserve.tt | 16 ++++++++-------- 1 file 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 742851d576..4b72bc9e69 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 ) %]