Bugzilla – Attachment 95981 Details for
Bug 24001
Cannot edit card template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24001: Cannot edit card template
Bug-24001-Cannot-edit-card-template.patch (text/plain), 1.22 KB, created by
Chris Nighswonger
on 2019-12-03 18:14:21 UTC
(
hide
)
Description:
Bug 24001: Cannot edit card template
Filename:
MIME Type:
Creator:
Chris Nighswonger
Created:
2019-12-03 18:14:21 UTC
Size:
1.22 KB
patch
obsolete
>From 0f070ef43f0626df32602f19e89116751b2b0445 Mon Sep 17 00:00:00 2001 >From: Chris Nighswonger <cnighswonger@foundations.edu> >Date: Tue, 3 Dec 2019 17:51:01 +0000 >Subject: [PATCH] Bug 24001: Cannot edit card template > >Change hardcoded default value of profile_id to 0 rather than null. > >Signed-off-by: Chris Nighswonger <cnighswonger@foundations.edu> >--- > patroncards/edit-template.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/patroncards/edit-template.pl b/patroncards/edit-template.pl >index 3712a6fd82..a3235d22f6 100755 >--- a/patroncards/edit-template.pl >+++ b/patroncards/edit-template.pl >@@ -52,7 +52,7 @@ if ($op eq 'edit') { > $profile_list = get_all_profiles({ fields => [ qw( profile_id printer_name paper_bin ) ], filters => {template_id => [ $template_id, '' ]} } ); > } > elsif ($op eq 'save') { >- my @params = ( profile_id => scalar $cgi->param('profile_id') || '', >+ my @params = ( profile_id => scalar $cgi->param('profile_id') || '0', > template_code => scalar $cgi->param('template_code'), > template_desc => scalar $cgi->param('template_desc'), > page_width => scalar $cgi->param('page_width'), >-- >2.11.0
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 24001
:
95981
|
98722
|
99164
|
106434
|
109764
|
131381
|
131494
|
131495
|
134074
|
134075
|
134077
|
134078
|
134080
|
134081
|
134124
|
134125
|
134346