Bug 18553 - Incorrect Loading... tag on circulation.tt when no clubs defined
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 8 May 2017 15:54:51 +0000 (12:54 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 9 May 2017 11:50:07 +0000 (07:50 -0400)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt

index d474196..adfe9c0 100644 (file)
@@ -953,7 +953,7 @@ No patron matched <span class="ex">[% message | html %]</span>
     </div>
 [% END %]
 
-[% IF CAN_user_clubs && ( enrollable || enrollments ) %]
+[% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %]
     <div id="clubs-tab">
         Loading...
     </div>