Bugzilla – Attachment 8379 Details for
Bug 7763
systempreferences.pl : Internal server Error with starman
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch proposed
0001-bug-7173-systempreferences-Internal-server-Error.patch (text/plain), 1007 bytes, created by
laurenthdl
on 2012-03-20 21:06:45 UTC
(
hide
)
Description:
patch proposed
Filename:
MIME Type:
Creator:
laurenthdl
Created:
2012-03-20 21:06:45 UTC
Size:
1007 bytes
patch
obsolete
>From 43131de03d404f970bb23b075cdd4de2b4cec240 Mon Sep 17 00:00:00 2001 >From: BibLibre <dev_patches@biblibre.com> >Date: Tue, 20 Mar 2012 15:44:55 +0100 >Subject: [PATCH] bug 7173 : systempreferences :Internal server Error > >internal server error is caused by sub modification >of a "global variable" in a pl file >Debugging systempreferences for usage with Plack >--- > admin/systempreferences.pl | 5 ++--- > 1 files changed, 2 insertions(+), 3 deletions(-) > >diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl >index ccbcacf..0baed3b 100755 >--- a/admin/systempreferences.pl >+++ b/admin/systempreferences.pl >@@ -40,8 +40,7 @@ ALSO : > > =cut > >-use strict; >-use warnings; >+use Modern::Perl; > > use CGI; > use MIME::Base64; >@@ -65,7 +64,7 @@ use C4::Output; > # Because some things *should* be on more than one tab. > # And the tabname is the unique part (the key). > >-my %tabsysprefs; >+state %tabsysprefs; > > # Acquisitions > $tabsysprefs{acquisitions} = "Acquisitions"; >-- >1.7.2.5 >
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 7763
:
8379
|
8513