X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=modules%2Foverride%2FPDF%2FTable.pm;fp=modules%2Foverride%2FPDF%2FTable.pm;h=1b7917b2928518ee1fe069bfeee170c5024b9ca2;hb=a864ef272897c875c8be4af5c09870d03d9ec712;hp=7ebe16fa485595cb21784c7ac7b51aeea229ff8f;hpb=8986229648df7f4adaad2606c9fe16b54569781e;p=kivitendo-erp.git diff --git a/modules/override/PDF/Table.pm b/modules/override/PDF/Table.pm index 7ebe16fa4..1b7917b29 100644 --- a/modules/override/PDF/Table.pm +++ b/modules/override/PDF/Table.pm @@ -129,8 +129,8 @@ sub text_block # Check if any text to display unless( defined( $text) and length($text) > 0 ) { - carp "Warning: No input text found. Trying to add dummy '-' and not to break everything.\n"; - $text = '-'; +# carp "Warning: No input text found. Trying to add dummy '-' and not to break everything.\n"; + $text = ' '; } # Strip any and Split the text into paragraphs @@ -648,7 +648,7 @@ sub table # Added to resolve infite loop bug with returned undef values for(my $d = 0; $d < scalar(@{$record}) ; $d++) { - $record->[$d] = '-' unless( defined $record->[$d]); + $record->[$d] = ' ' unless( defined $record->[$d]); } # Choose colors for this row