From 5b0eb51c8066abbd645731593572277ca5b46715 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Sat, 18 Feb 2017 19:50:32 -0500 Subject: [PATCH] Bug 18143: Silence ods MARC framework export flood Signed-off-by: Pierre-Marc Thibault Signed-off-by: Kyle M Hall Signed-off-by: Nick Clemens --- C4/ImportExportFramework.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/ImportExportFramework.pm b/C4/ImportExportFramework.pm index 43681369c4..d4a11cabc5 100644 --- a/C4/ImportExportFramework.pm +++ b/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 = '#'; } -- 2.39.5