diff --git a/authorities/authorities.pl b/authorities/authorities.pl index b2fad5d2a8..3b8a235636 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 && !$authobj ) { +if ( $authid && !$authobj ) { print $input->redirect("/cgi-bin/koha/errors/404.pl"); # escape early exit; }