Bugzilla – Attachment 166466 Details for
Bug 36791
Koha explodes when trying to edit an authority record with an invalid authid
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36791: (QA follow-up) Simplify conditional
Bug-36791-QA-follow-up-Simplify-conditional.patch (text/plain), 908 bytes, created by
Emily Lamancusa (emlam)
on 2024-05-09 15:34:59 UTC
(
hide
)
Description:
Bug 36791: (QA follow-up) Simplify conditional
Filename:
MIME Type:
Creator:
Emily Lamancusa (emlam)
Created:
2024-05-09 15:34:59 UTC
Size:
908 bytes
patch
obsolete
>From 52388836238612c8812a814c86938c07b54c9bb1 Mon Sep 17 00:00:00 2001 >From: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >Date: Thu, 9 May 2024 11:26:52 -0400 >Subject: [PATCH] Bug 36791: (QA follow-up) Simplify conditional > >Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >--- > authorities/authorities.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/authorities/authorities.pl b/authorities/authorities.pl >index 96c599a87f..b2fad5d2a8 100755 >--- a/authorities/authorities.pl >+++ b/authorities/authorities.pl >@@ -553,7 +553,7 @@ if ( $op eq 'cud-change-framework' ) { > > my $dbh = C4::Context->dbh; > my $authobj = Koha::Authorities->find($authid); >-if ( defined $authid && !$authid || $authid && !$authobj ) { >+if ( defined $authid && !$authobj ) { > print $input->redirect("/cgi-bin/koha/errors/404.pl"); # escape early > exit; > } >-- >2.34.1
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 36791
:
166214
|
166234
|
166465
| 166466 |
166591