Browse Source

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>
19.05.x
Mark Tompsett 5 years ago
committed by root
parent
commit
5b0eb51c80
  1. 2
      C4/ImportExportFramework.pm

2
C4/ImportExportFramework.pm

@ -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…
Cancel
Save