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!"; }