X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=authorities%2Fauthorities-home.pl;h=e4eae8474940186960cca1a5ad478c4295248662;hb=18b8991cf1832a0ee79a526e6438b51fdb4f3208;hp=edf02a5989ee00e3a10ed363e1d1f400c004047b;hpb=c52225a5990bf9afb032bde8fa6ae0ddad0069b2;p=koha_fer diff --git a/authorities/authorities-home.pl b/authorities/authorities-home.pl index edf02a5989..e4eae84749 100755 --- a/authorities/authorities-home.pl +++ b/authorities/authorities-home.pl @@ -147,9 +147,6 @@ if ( $op eq "do_search" ) { } elsif ( $op eq "delete" ) { - - &DelAuthority( $authid, 1 ); - ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "authorities/authorities-home.tmpl", @@ -160,7 +157,7 @@ elsif ( $op eq "delete" ) { debug => 1, } ); - + &DelAuthority( $authid, 1 ); } else { ( $template, $loggedinuser, $cookie ) = get_template_and_user(