Bug 19524: Use existing logged_in_user variable
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
e2e0c32701
commit
9b1316ffee
2 changed files with 2 additions and 5 deletions
|
@ -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>
|
||||
|
|
|
@ -39,9 +39,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
|
||||
my @lists = GetPatronLists();
|
||||
|
||||
$template->param(
|
||||
lists => \@lists,
|
||||
logged_in_user => $loggedinuser,
|
||||
);
|
||||
$template->param( lists => \@lists );
|
||||
|
||||
output_html_with_http_headers( $cgi, $cookie, $template->output );
|
||||
|
|
Loading…
Reference in a new issue