From 3c9dd63f71f54499de802eeb01765565cd776026 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Thu, 16 Feb 2023 14:38:15 +0100 Subject: [PATCH] donations.php --- donations/donations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/donations/donations.php b/donations/donations.php index 740b21e..c5ed78d 100644 --- a/donations/donations.php +++ b/donations/donations.php @@ -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!";