Bug 16145: Regression: Bug 15632 broke display of library name on circulation messages
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 24 Mar 2016 21:28:21 +0000 (21:28 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Fri, 25 Mar 2016 21:11:21 +0000 (21:11 +0000)
Wrong var loop used!

Test plan:
Add a message for a patron on the checkouts page.
The library name should be displayed.

Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt

index 57e5cf2..0efe49b 100644 (file)
@@ -839,7 +839,7 @@ No patron matched <span class="ex">[% message %]</span>
                 <li>
                     <span class="circ-hlt">
                         [% message.message_date | $KohaDates %]
-                        [% Branches.GetName( lib_messages_loo.branchcode ) %]
+                        [% Branches.GetName( message.branchcode ) %]
                         <i>"[% message.message %]"</i>
                     </span>
                     [% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %]