projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes bug with non-integer payments at BPLC.
[platal.git]
/
modules
/
payment
/
money
/
bplccyberplus.inc.php
diff --git
a/modules/payment/money/bplccyberplus.inc.php
b/modules/payment/money/bplccyberplus.inc.php
index
46bf7f0
..
23665ab
100644
(file)
--- a/
modules/payment/money/bplccyberplus.inc.php
+++ b/
modules/payment/money/bplccyberplus.inc.php
@@
-49,7
+49,7
@@
class BPLCCyberPlus
function BPLCCyberPlus($val)
{
// Improvement: number of digits after the coma might depend from the currency.
- $this->val = 100 * strtr(
sprintf("%.02f", (float)$val), '.', ',
');
+ $this->val = 100 * strtr(
$val, ',', '.
');
}
// }}}