From 7641d80d0cf3f56ed81403bc72fd5f39b6a43b68 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Thu, 10 Jun 2021 18:55:54 -0500 Subject: Can still attempt to add with seq and version empty. Make sure all three are used, else error. --- A8_srv_build/add.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'A8_srv_build/add.php') diff --git a/A8_srv_build/add.php b/A8_srv_build/add.php index 17da21a..db78a0f 100644 --- a/A8_srv_build/add.php +++ b/A8_srv_build/add.php @@ -21,7 +21,7 @@ session_start(); include('config.inc'); if(isset($_POST['submit'])) { - if(!empty($_POST['name'])) + if(!empty($_POST['seq']) && !empty($_POST['name']) && !empty($_POST['version'])) { $seq=($_POST['seq']); $name=($_POST['name']); -- cgit v1.2.3-54-g00ecf