projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6912944
)
ticket: 28287; adding parens to sprintf
author
David Houghton
<houghton@freeside.biz>
Wed, 10 Sep 2014 19:52:31 +0000
(15:52 -0400)
committer
David Houghton
<houghton@freeside.biz>
Wed, 10 Sep 2014 19:52:31 +0000
(15:52 -0400)
Mark didn't like the sprintf without parens, so I'm fixing it.
FS/FS/part_pkg/discount_Mixin.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_pkg/discount_Mixin.pm
b/FS/FS/part_pkg/discount_Mixin.pm
index
3bff35a
..
0063567
100644
(file)
--- a/
FS/FS/part_pkg/discount_Mixin.pm
+++ b/
FS/FS/part_pkg/discount_Mixin.pm
@@
-183,7
+183,7
@@
sub calc_discount {
}
push @$details, $d;
}
push @$details, $d;
- push @$details, sprintf
$format, $money_char, $br
;
+ push @$details, sprintf
( $format, $money_char, $br )
;
$tot_discount += $amount;
}
$tot_discount += $amount;
}