From efba13e55cde241e74be75c6bd3a8a53a9bd0b39 Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Mon, 11 Nov 2019 15:00:26 +0100 Subject: [PATCH] removed useless lines --- add-cupboard.php | 4 ---- add-product.php | 1 - 2 files changed, 5 deletions(-) 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(); } // =============================================================================