donations.php
This commit is contained in:
1 parent
3995f8af9f
commit
3c9dd63f71
1 file changed
+1
-1
@@ -29,7 +29,7 @@ function forwardToDonationPage($amount){
|
||||
}
|
||||
|
||||
$amount = (float)($_GET["amount"]);
|
||||
if(is_numeric($amount)) {
|
||||
if(is_numeric($amount) && $amount > 0) {
|
||||
forwardToDonationPage($amount);
|
||||
} else {
|
||||
echo "invalid amount!";
|
||||
|
||||
Reference in new issue
Block a user