bug 5372: identify empty field in authority record correctly
This is the sibling to the fix for this bug for the bib editor. However, note that this change won't have a direct effect yet, as currently you can't specify a default value for a field or subfield in the authority MARC frameworks. See bug 4887. Signed-off-by: Galen Charlton <gmcharlt@gmail.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
1aef81c354
commit
daabd936d6
|
|
@ -130,7 +130,7 @@ sub create_input {
|
|||
}
|
||||
|
||||
# if there is no value provided but a default value in parameters, get it
|
||||
unless ($value) {
|
||||
if ($value eq '') {
|
||||
$value = $tagslib->{$tag}->{$subfield}->{defaultvalue};
|
||||
if (!defined $value) {
|
||||
$value = q{};
|
||||
|
|
|
|||
Loading…
Reference in New Issue