summaryrefslogtreecommitdiff
path: root/src/frontend/checkout.php
diff options
context:
space:
mode:
authorFlorian Dold <dold@inria.fr>2015-12-24 02:19:31 +0100
committerFlorian Dold <dold@inria.fr>2015-12-24 02:19:31 +0100
commit695896543a10c5e1fe6bec360e85e1915a45013b (patch)
tree23ca9e038a8ba70edea3b66f1837d220ba614fd3 /src/frontend/checkout.php
parent020efb6d50daa8a4a4104cfe7aaf2bf05560f1e7 (diff)
downloadmerchant-695896543a10c5e1fe6bec360e85e1915a45013b.tar.gz
merchant-695896543a10c5e1fe6bec360e85e1915a45013b.tar.bz2
merchant-695896543a10c5e1fe6bec360e85e1915a45013b.zip
Fix HTML.
Diffstat (limited to 'src/frontend/checkout.php')
-rw-r--r--src/frontend/checkout.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frontend/checkout.php b/src/frontend/checkout.php
index e4dd8ebd..21d4d8c4 100644
--- a/src/frontend/checkout.php
+++ b/src/frontend/checkout.php
@@ -55,6 +55,7 @@
// create PHP session and store donation information in session
$donation_fraction = (float) ("0." . $donation_fraction);
session_start();
+ session_unset();
$_SESSION['receiver'] = $donation_receiver;
$_SESSION['amount_value'] = (int) $donation_amount;
$_SESSION['amount_fraction'] = (int) ($donation_fraction * 1000000);