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);