Bugzilla – Attachment 10581 Details for
Bug 7630
Warning on moremember.pl about param without key
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7630 - Warning on moremember.pl about param without key Move "$error => 1," to its own conditional $template->param()
Bug-7630---Warning-on-morememberpl-about-param-wit.patch (text/plain), 1.20 KB, created by
Chris Cormack
on 2012-07-01 01:16:57 UTC
(
hide
)
Description:
Bug 7630 - Warning on moremember.pl about param without key Move "$error => 1," to its own conditional $template->param()
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-07-01 01:16:57 UTC
Size:
1.20 KB
patch
obsolete
>From 7381a6c002dacc9ecb66afde00ae82c2a7df6a88 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Fri, 29 Jun 2012 21:54:44 +0800 >Subject: [PATCH] Bug 7630 - Warning on moremember.pl about param without key > Move "$error => 1," to its own conditional > $template->param() > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > members/moremember.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/moremember.pl b/members/moremember.pl >index b4e80f7..8f529f3 100755 >--- a/members/moremember.pl >+++ b/members/moremember.pl >@@ -422,7 +422,6 @@ $template->param( > relissueloop => @relissuedata, > overdues_exist => $overdues_exist, > error => $error, >- $error => 1, > StaffMember => ($category_type eq 'S'), > is_child => ($category_type eq 'C'), > # reserveloop => \@reservedata, >@@ -434,6 +433,7 @@ $template->param( > AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'), > SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'), > ); >+$template->param( $error => 1 ) if $error; > > output_html_with_http_headers $input, $cookie, $template->output; > >-- >1.7.10
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 7630
:
10563
| 10581