[Koha-patches] [PATCH] Correcting bad session var that caused Lists link not to be displayed in anonymous sessions
Chris Nighswonger
chris.nighswonger at liblime.com
Wed Jul 23 06:29:25 CEST 2008
---
C4/Auth.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/C4/Auth.pm b/C4/Auth.pm
index 98c151e..3f39504 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);
--
1.5.5.GIT
More information about the Koha-patches
mailing list