Lines 77-83
sub set_additional_fields {
Link Here
|
77 |
} |
77 |
} |
78 |
} |
78 |
} |
79 |
|
79 |
|
80 |
if (defined $value) { |
80 |
if (defined $value && $value ne '') { |
81 |
my $field_value = Koha::AdditionalFieldValue->new({ |
81 |
my $field_value = Koha::AdditionalFieldValue->new({ |
82 |
field_id => $additional_field->{id}, |
82 |
field_id => $additional_field->{id}, |
83 |
record_id => $self->id, |
83 |
record_id => $self->id, |
Lines 113-119
sub prepare_cgi_additional_field_values {
Link Here
|
113 |
push @additional_fields, { |
113 |
push @additional_fields, { |
114 |
id => $field->id, |
114 |
id => $field->id, |
115 |
value => $value, |
115 |
value => $value, |
116 |
} if defined $value && $value ne ''; |
116 |
} if defined $value; |
117 |
} |
117 |
} |
118 |
} |
118 |
} |
119 |
|
119 |
|
120 |
- |
|
|