From 6cc99a3f1c9a2499fd30b7a2f771d6ba5583e9e6 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Sat, 18 Apr 2009 21:34:40 +0200 Subject: [PATCH] fix for #918 In authorities, you can create frameworks like for biblio. But in these it's impossible to delete useless fields, because when you click on delete button, you go back to the default framework. SO if you confirm your deletion, it delete your field in the default framework and so in all the framwork (I think...). Signed-off-by: Galen Charlton --- admin/auth_tag_structure.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/auth_tag_structure.pl b/admin/auth_tag_structure.pl index 447cab4b8e..279a10ca55 100755 --- a/admin/auth_tag_structure.pl +++ b/admin/auth_tag_structure.pl @@ -206,6 +206,8 @@ if ($op eq 'add_form') { $dbh->do("delete from auth_tag_structure where tagfield='$searchfield' and authtypecode='$authtypecode'"); $dbh->do("delete from auth_subfield_structure where tagfield='$searchfield' and authtypecode='$authtypecode'"); } + print "Content-Type: text/html\n\nparam('tagfield')."&authtypecode=$authtypecode\">"; + exit; # END $OP eq DELETE_CONFIRMED ################## ITEMTYPE_CREATE ################################## # called automatically if an unexisting authtypecode is selected -- 2.39.5