Bug 19524: Use existing logged_in_user variable
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / patron_lists / lists.tt
index dcf3ca5..b6057a6 100644 (file)
@@ -39,7 +39,7 @@
 
             <tbody>
                 [% FOREACH l IN lists %]
-                    [% SET shared_by_other = l.owner.id != logged_in_user %]
+                    [% SET shared_by_other = l.owner.id != logged_in_user.id %]
                     <tr>
                         <td><a href="/cgi-bin/koha/patron_lists/list.pl?patron_list_id=[% l.patron_list_id %]">[% l.name |html%]</a></td>
                         <td>[% l.patron_list_patrons_rs.count || 0 %]</td>