Bugzilla – Attachment 3984 Details for
Bug 6240
edit subscription loses bib link
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed Patch
0001-Bug-6240-pass-a-hash-to-template-not-a-scalar.patch (text/plain), 990 bytes, created by
Colin Campbell
on 2011-04-21 19:29:20 UTC
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Colin Campbell
Created:
2011-04-21 19:29:20 UTC
Size:
990 bytes
patch
obsolete
>From f2f62e970f5948318088628932bd0a2a1b8875b5 Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Thu, 21 Apr 2011 20:24:04 +0100 >Subject: [PATCH] Bug 6240 : pass a hash to template not a scalar >Content-Type: text/plain; charset="utf-8" > >As subscription info was passed as a scalar hashref >template could not access any of the data contained therein >esp Bib and Vendor ids >--- > serials/subscription-add.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/serials/subscription-add.pl b/serials/subscription-add.pl >index 72eee22..a548817 100755 >--- a/serials/subscription-add.pl >+++ b/serials/subscription-add.pl >@@ -101,7 +101,7 @@ if ($op eq 'mod' || $op eq 'dup' || $op eq 'modsubscription') { > } > } > >- $template->param($subs); >+ $template->param( %{$subs} ); > $template->param("dow".$subs->{'dow'} => 1) if defined $subs->{'dow'}; > $template->param( > $op => 1, >-- >1.7.4.4 >
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 6240
: 3984