donations.php
This commit is contained in:
@@ -29,7 +29,7 @@ function forwardToDonationPage($amount){
|
|||||||
}
|
}
|
||||||
|
|
||||||
$amount = (float)($_GET["amount"]);
|
$amount = (float)($_GET["amount"]);
|
||||||
if(is_numeric($amount)) {
|
if(is_numeric($amount) && $amount > 0) {
|
||||||
forwardToDonationPage($amount);
|
forwardToDonationPage($amount);
|
||||||
} else {
|
} else {
|
||||||
echo "invalid amount!";
|
echo "invalid amount!";
|
||||||
|
|||||||
Reference in New Issue
Block a user