Bug 12159: Fix getting extended patron attributes for circ-menu
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / reports / borrowers_stats.tt
index 25c4843..17a0ee2 100644 (file)
@@ -1,4 +1,5 @@
 [% USE Branches %]
+[% USE Koha %]
 [% SET footerjs = 1 %]
 [% INCLUDE 'doc-head-open.inc' %]
 <title>Koha &rsaquo; Reports [% IF ( do_it ) %]&rsaquo; Patrons statistics &rsaquo; Results[% ELSE %]&rsaquo; Patrons statistics[% END %]</title>
             [% ELSE %]
                 <input type="hidden" name="Filter" />
                        [% END %]
-            [% IF ( ExtendedPatronAttributes ) %]
+            [% IF Koha.Preference('ExtendedPatronAttributes') %]
                 <tr>
                     <th colspan="4">Patron attributes</th>
                 </tr>