projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3832002
)
Wenn der Benutzer Leerzeichen am Ende will, dann diese nicht entfernen.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 1 Jun 2007 09:25:28 +0000
(09:25 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 1 Jun 2007 09:25:28 +0000
(09:25 +0000)
SL/LXDebug.pm
patch
|
blob
|
history
diff --git
a/SL/LXDebug.pm
b/SL/LXDebug.pm
index
d902e2a
..
684a1e7
100644
(file)
--- a/
SL/LXDebug.pm
+++ b/
SL/LXDebug.pm
@@
-160,8
+160,7
@@
sub dump_sql_result {
my @sorted_names = sort keys %column_lengths;
my $format = join '|', map { '%' . $column_lengths{$_} . 's' } @sorted_names;
- $prefix =~ s|\s*$||;
- $prefix .= ' ' if $prefix;
+ $prefix .= ' ' if $prefix;
$self->message($level, $prefix . sprintf($format, @sorted_names));
$self->message($level, $prefix . join('+', map { '-' x $column_lengths{$_} } @sorted_names));