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

(-)a/C4/ImportExportFramework.pm (-1 / +2 lines)
Lines 415-420 sub _export_table_excel Link Here
415
                $data = $hashRef->{$_->{name}};
415
                $data = $hashRef->{$_->{name}};
416
                if ($_->{type} eq 'Number' && !defined($data)) {
416
                if ($_->{type} eq 'Number' && !defined($data)) {
417
                    $data = '0';
417
                    $data = '0';
418
                } elsif ($_->{type} eq 'String' && !defined($data)) {
419
                    $data = q{};
418
                } elsif ($_->{type} eq 'String' && (!$data && $data ne '0')) {
420
                } elsif ($_->{type} eq 'String' && (!$data && $data ne '0')) {
419
                    $data = '#';
421
                    $data = '#';
420
                }
422
                }
421
- 

Return to bug 18143