Bugzilla – Attachment 11898 Details for
Bug 8705
Software error on help of main page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
Bug-8705-Software-error-on-help-of-main-page.patch (text/plain), 661 bytes, created by
Fridolin Somers
on 2012-08-30 16:45:00 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2012-08-30 16:45:00 UTC
Size:
661 bytes
patch
obsolete
>From 794542ef1e1bde54185e07e63c0825ec1e37cd6a Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Thu, 30 Aug 2012 18:42:26 +0200 >Subject: [PATCH] Bug 8705: Software error on help of main page > >--- > help.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/help.pl b/help.pl >index 97f3462..476129b 100755 >--- a/help.pl >+++ b/help.pl >@@ -32,7 +32,7 @@ our $refer = $query->param('url'); > $refer = $query->referer() if !$refer || $refer eq 'undefined'; > > $refer =~ /koha\/(.*)\.pl/; >-my $file = $1; >+my $file = $1 || 'mainpage'; > $file =~ s/[^a-zA-Z0-9_\-\/]*//g; > my $from = "help/$file.tt"; > >-- >1.7.9.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 8705
:
11898
|
11899
|
11921
|
11924
|
11944