diff --git a/add-cupboard.php b/add-cupboard.php index 7106756..1ac51e9 100644 --- a/add-cupboard.php +++ b/add-cupboard.php @@ -53,10 +53,6 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { echo $cupboard_name_err; echo $cupboard_description_err; } - - - - exit(); } ?> diff --git a/add-product.php b/add-product.php index 39e121b..b7852cf 100644 --- a/add-product.php +++ b/add-product.php @@ -91,7 +91,6 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { echo $expiration_date_err; echo $cupboard_err . $_POST["cupboard"]; } - exit(); } // =============================================================================