View | Details | Raw Unified | Return to bug 29592
Collapse All | Expand All

(-)a/authorities/authorities.pl (-2 / +2 lines)
Lines 129-135 sub create_input { Link Here
129
129
130
    # if there is no value provided but a default value in parameters, get it
130
    # if there is no value provided but a default value in parameters, get it
131
    if ($value eq '') {
131
    if ($value eq '') {
132
        $value = $tagslib->{$tag}->{$subfield}->{defaultvalue} if !$cgi->param('authid'); # only for new records
132
        $value = $tagslib->{$tag}->{$subfield}->{defaultvalue} if !$cgi->param('authid') && !$cgi->param('breedingid');
133
            # only for new records, not for imports
133
        if (!defined $value) {
134
        if (!defined $value) {
134
            $value = q{};
135
            $value = q{};
135
        }
136
        }
136
- 

Return to bug 29592