From 40ef1087c5dcf02a3e7670505e540daad3a37dfc Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 20 Dec 2015 01:08:49 +0100 Subject: Don't use deprecated 'split' function. --- src/frontend/checkout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3