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:
ac0c6a8
)
Leeren String auch als "nicht gesetzt" deuten.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 12 Feb 2007 09:42:42 +0000
(09:42 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 12 Feb 2007 09:42:42 +0000
(09:42 +0000)
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
44d857c
..
95cd80e
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-653,7
+653,7
@@
sub format_amount {
}
my $neg = ($amount =~ s/-//);
- if (defined($places)) {
+ if (defined($places)
&& ($places ne '')
) {
if ($places < 0) {
$amount *= 1;
$places *= -1;