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 <jmf@liblime.com>
This commit is contained in:
parent
f3be2d24aa
commit
0f8c4b1bd8
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue