Bug 18143: Silence ods MARC framework export flood
Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> (cherry picked from commit5b0eb51c80) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commit854f1ca17a) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commite448cb9042) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
878c25efb5
commit
838875f67c
|
|
@ -345,6 +345,8 @@ sub _export_table_ods
|
|||
$data = $hashRef->{$_->{name}};
|
||||
if ($_->{type} eq 'float' && !defined($data)) {
|
||||
$data = '0';
|
||||
} elsif ($_->{type} eq 'string' && !defined($data)) {
|
||||
$data = q{};
|
||||
} elsif ($_->{type} eq 'string' && (!$data && $data ne '0')) {
|
||||
$data = '#';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue