donations.php
This commit is contained in:
@@ -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