donations.php
This commit is contained in:
1 parent
5fca34c303
commit
c3f787f14a
3 files changed
+23
-6
No files matched your search
@@ -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!";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user