From 1ce78a0c225224a41638da15bbc9de31e08d2e85 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Fri, 2 Sep 2011 10:36:29 +0200 Subject: [PATCH] bug 6834 followup removing param_map param_map was still to be found in two files. Signed-off-by: Chris Cormack --- 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 0d9c207726..69482a819e 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 303684c2f4..dfc9447212 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') { -- 2.39.5