Bug 36791: (QA follow-up) Simplify conditional
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
18843cabdb
commit
37bda5d130
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue