From 37bda5d1300aa8262917be6f36172348244b7c73 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 Signed-off-by: Katrin Fischer --- 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.39.5