Correcting bad session var that caused Lists link not to be displayed in anonymous sessions

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Chris Nighswonger 2008-07-22 23:29:25 -05:00 committed by Joshua Ferraro
parent 0ed39b89cd
commit ed762eb989

View file

@ -741,7 +741,7 @@ sub checkauth {
($pubshelves, $totshelves) = GetRecentShelves(2, $row_count, undef);
$total->{'pubtotal'} = $totshelves;
$session->param('pubshelves', ${@$pubshelves}[0]);
$session->param('pubtotal', $total->{'pubtotal'});
$session->param('totshelves', $total);
C4::Context::set_shelves_userenv('pub',${@$pubshelves}[0]);
C4::Context::set_shelves_userenv('tot',$total);