From 0f8c4b1bd8fd2db29fecb6cc608b8a8f1cdb8d1f Mon Sep 17 00:00:00 2001 From: Frederic Demians Date: Fri, 7 Mar 2008 07:43:40 +0100 Subject: [PATCH] Fix a bug preventing existing tag modification in MARC Framework It wasn't possible to edit an existing tag. The program was idenfifying tag modification as a tag creation. Signed-off-by: Joshua Ferraro --- admin/marctagstructure.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/marctagstructure.pl b/admin/marctagstructure.pl index 4dbe40c0ad..5a24794d9c 100755 --- a/admin/marctagstructure.pl +++ b/admin/marctagstructure.pl @@ -124,7 +124,7 @@ if ($op eq 'add_form') { ); $template->param(searchfield => $searchfield) if ($searchfield); - if ($data eq undef) { + if ($searchfield) { $template->param(action => "Modify tag"); $template->param('heading-modify-tag-p' => 1); } else { -- 2.39.5