summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/frontend/checkout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/checkout.php b/src/frontend/checkout.php
index c002f52a..4ea41709 100644
--- a/src/frontend/checkout.php
+++ b/src/frontend/checkout.php
@@ -51,7 +51,7 @@
$donation_currency = $_POST['donation_currency'];
// get frational part
- list ($donation_value, $donation_fraction) = split ("\.", $donation_amount, 2);
+ list ($donation_value, $donation_fraction) = explode (".", $donation_amount, 2);
// create PHP session and store donation information in session
$donation_fraction = (float) ("0." . $donation_fraction);
session_start();