From 52388836238612c8812a814c86938c07b54c9bb1 Mon Sep 17 00:00:00 2001 From: Emily Lamancusa Date: Thu, 9 May 2024 11:26:52 -0400 Subject: [PATCH] Bug 36791: (QA follow-up) Simplify conditional Signed-off-by: Emily Lamancusa --- 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