From e6c89a06d3daf0c2368c96ce1030eec49ef08471 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Thu, 16 Feb 2023 19:41:27 +0100 Subject: [PATCH] donations.php --- donations/donations.php | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/donations/donations.php b/donations/donations.php index d31acea..617baf4 100644 --- a/donations/donations.php +++ b/donations/donations.php @@ -1,12 +1,13 @@ 0) { - forwardToDonationPage($amount); + forwardToDonationPage($amount, $dolibarrURL); } else { $amount = (float)($_POST["amount"]); if(is_numeric($amount) && $amount > 0) { - forwardToDonationPage($amount); + forwardToDonationPage($amount, $dolibarrURL); } else { echo "invalid amount!"; }