Bugzilla – Attachment 5276 Details for
Bug 6834
$template->{param_map} is deprecated with the introduction of Template::Toolkit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
this is a followup. since patch sent would leave 2 param_map
0001-bug-6834-followup-removing-param_map.patch (text/plain), 1.58 KB, created by
dev_patches
on 2011-09-02 08:45:15 UTC
(
hide
)
Description:
this is a followup. since patch sent would leave 2 param_map
Filename:
MIME Type:
Creator:
dev_patches
Created:
2011-09-02 08:45:15 UTC
Size:
1.58 KB
patch
obsolete
>From 870f5e819d4114c9152b63de9fda1b12a9d4a3e4 Mon Sep 17 00:00:00 2001 >From: Henri-Damien LAURENT <henridamien.laurent@biblibre.com> >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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6834
:
5270
| 5276 |
163619
|
163620