Bug 5917 : Fixing a bug with signedin users
This commit is contained in:
parent
6840c9ca44
commit
6350a7d1cb
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ sub get_template_and_user {
|
|||
SyndeticsCoverImageSize => C4::Context->preference("SyndeticsCoverImageSize"),
|
||||
);
|
||||
|
||||
$template->param(OpacPublic => '1') if ($template->param( 'loggedinusername') || C4::Context->preference("OpacPublic"));
|
||||
$template->param(OpacPublic => '1') if ($user || C4::Context->preference("OpacPublic"));
|
||||
}
|
||||
$template->param(listloop=>[{shelfname=>"Freelist", shelfnumber=>110}]);
|
||||
return ( $template, $borrowernumber, $cookie, $flags);
|
||||
|
|
Loading…
Reference in a new issue