From ed762eb989d5fc03cf23018ffe96b81b5bb44226 Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Tue, 22 Jul 2008 23:29:25 -0500 Subject: [PATCH] Correcting bad session var that caused Lists link not to be displayed in anonymous sessions Signed-off-by: Joshua Ferraro --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 98c151e256..3f395044ad 100755 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -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); -- 2.39.2