X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=authorities%2Fauthorities-home.pl;h=e4eae8474940186960cca1a5ad478c4295248662;hb=f7d7fd761138c3935fedafbe31407d84477e8428;hp=edf02a5989ee00e3a10ed363e1d1f400c004047b;hpb=84d7a0e3ef830a0b55ca2685ea163a068f2d5979;p=koha_gimpoz 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(