[Koha-patches] [PATCH] Fix for Bug 6766 - Template variable scope errors in holds template

Owen Leonard oleonard at myacpl.org
Tue Aug 23 18:19:30 CEST 2011


---
 .../prog/en/modules/reserve/request.tt             |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
index cbcfc55..13ea5c4 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
@@ -516,7 +516,7 @@ function checkMultiHold() {
             [% END %]
 
           [% IF ( biblioloo.alreadyres ) %]
-              <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% biblioloo.borrowernumber %]">[% biblioloo.borrowerfirstname %] [% biblioloo.borrowersurname %]</a> <strong>already has a hold</strong> on this item </li>
+              <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borrowerfirstname %] [% borrowersurname %]</a> <strong>already has a hold</strong> on this item </li>
           [% END %]
           [% IF ( biblioloo.none_avail ) %]
               <li> <strong>No copies are available</strong> to be placed on hold</li>
@@ -567,7 +567,7 @@ function checkMultiHold() {
 
     [% IF ( biblioloo.reserveloop ) %]
     <table>
-      [% IF ( biblioloo.multi_hold ) %]
+      [% IF ( multi_hold ) %]
           <caption><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblioloo.biblionumber %]">[% biblioloo.title |html %]</a></caption>
       [% END %]
       <tr>
-- 
1.7.3



More information about the Koha-patches mailing list