From 870f5e819d4114c9152b63de9fda1b12a9d4a3e4 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. --- 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