bug 6834 followup removing param_map

param_map was still to be found in two files.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Henri-Damien LAURENT 2011-09-02 10:36:29 +02:00 committed by Chris Cormack
parent 0dbad3efce
commit 1ce78a0c22
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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') {