projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Benutzung undefinierter Werte vermeiden
[kivitendo-erp.git]
/
SL
/
DATEV.pm
diff --git
a/SL/DATEV.pm
b/SL/DATEV.pm
index
ca74cd2
..
90fa620
100644
(file)
--- a/
SL/DATEV.pm
+++ b/
SL/DATEV.pm
@@
-263,7
+263,7
@@
sub _fill {
my $fill_char = shift;
my $alignment = shift || 'right';
- my $text_len = length
$text
;
+ my $text_len = length
($text // '')
;
if ($field_len < $text_len) {
$text = substr $text, 0, $field_len;