Bugzilla – Attachment 75080 Details for
Bug 20284
ILL: Adding a 'new request' from OPAC fails with template error if text exists in ILLModuleCopyrightClearance
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20284: (follow-up) Added missing 'exit's
Bug-20284-follow-up-Added-missing-exits.patch (text/plain), 1.31 KB, created by
Tomás Cohen Arazi (tcohen)
on 2018-05-04 15:34:13 UTC
(
hide
)
Description:
Bug 20284: (follow-up) Added missing 'exit's
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2018-05-04 15:34:13 UTC
Size:
1.31 KB
patch
obsolete
>From 3a32a374f726bbe420bdaa7a5818d8013c114a46 Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Fri, 20 Apr 2018 15:15:15 +0100 >Subject: [PATCH] Bug 20284: (follow-up) Added missing 'exit's > >This patch adds the exits that were missing after the redirects > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > opac/opac-illrequests.pl | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/opac/opac-illrequests.pl b/opac/opac-illrequests.pl >index 976e1b71ad..1566118e2c 100755 >--- a/opac/opac-illrequests.pl >+++ b/opac/opac-illrequests.pl >@@ -86,6 +86,7 @@ if ( $op eq 'list' ) { > '/cgi-bin/koha/opac-illrequests.pl?method=view&illrequest_id=' . > $params->{illrequest_id} . > '&message=1' >+ exit; > ); > } elsif ( $op eq 'cancreq') { > my $request = Koha::Illrequests->find({ >@@ -97,6 +98,7 @@ if ( $op eq 'list' ) { > '/cgi-bin/koha/opac-illrequests.pl?method=view&illrequest_id=' . > $params->{illrequest_id} . > '&message=1' >+ exit; > ); > > } elsif ( $op eq 'create' ) { >@@ -126,6 +128,7 @@ if ( $op eq 'list' ) { > ); > if ($backend_result->{stage} eq 'commit') { > print $query->redirect('/cgi-bin/koha/opac-illrequests.pl?message=2'); >+ exit; > } > } > >-- >2.17.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 20284
:
73870
|
74156
|
74426
|
74599
|
74652
|
75079
| 75080 |
75081
|
75082