donations.php

This commit is contained in:
schrom01
2023-02-16 19:29:41 +01:00
parent 5fca34c303
commit c3f787f14a
3 changed files with 23 additions and 6 deletions
+6 -1
View File
@@ -34,5 +34,10 @@ $amount = (float)($_GET["amount"]);
if(is_numeric($amount) && $amount > 0) {
forwardToDonationPage($amount);
} else {
echo "invalid amount!";
$amount = (float)($_POST["amount"]);
if(is_numeric($amount) && $amount > 0) {
forwardToDonationPage($amount);
} else {
echo "invalid amount!";
}
}