param_map was still to be found in two files.
---
 acqui/acqui-home.pl |    2 +-
 acqui/basket.pl     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/acqui/acqui-home.pl b/acqui/acqui-home.pl
index 0d9c207..69482a8 100755
--- a/acqui/acqui-home.pl
+++ b/acqui/acqui-home.pl
@@ -80,7 +80,7 @@ my $suggestions_count       = CountSuggestion($status);
 
 my $budget_arr =
   GetBudgetHierarchy( '', $user->{branchcode},
-    $template->{param_map}->{'USER_INFO'}[0]->{'borrowernumber'} );
+    $template->{VARS}->{'USER_INFO'}[0]->{'borrowernumber'} );
 
 my $total      = 0;
 my $totspent   = 0;
diff --git a/acqui/basket.pl b/acqui/basket.pl
index 303684c..dfc9447 100755
--- a/acqui/basket.pl
+++ b/acqui/basket.pl
@@ -136,7 +136,7 @@ if ( $op eq 'delete_confirm' ) {
         address3             => $bookseller->{'address3'},
         address4             => $bookseller->{'address4'},
       );
-} elsif ($op eq 'attachbasket' && 
$template->{'param_map'}->{'CAN_user_acquisition_group_manage'} == 1) {
+} elsif ($op eq 'attachbasket' && 
$template->{'VARS'}->{'CAN_user_acquisition_group_manage'} == 1) {
       print $query->redirect('/cgi-bin/koha/acqui/basketgroup.pl?basketno=' . 
$basket->{'basketno'} . '&op=attachbasket&booksellerid=' . $booksellerid);
     # check if we have to "close" a basket before building page
 } elsif ($op eq 'export') {
-- 
1.7.1

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to