Correcting bad session var that caused Lists link not to be displayed in anonymous...
authorChris Nighswonger <chris.nighswonger@liblime.com>
Wed, 23 Jul 2008 04:29:25 +0000 (23:29 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 23 Jul 2008 11:49:51 +0000 (06:49 -0500)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Auth.pm

index 98c151e..3f39504 100755 (executable)
@@ -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);