diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-06-10 18:55:54 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-06-10 18:55:54 -0500 |
commit | 7641d80d0cf3f56ed81403bc72fd5f39b6a43b68 (patch) | |
tree | 915198d3d167fa818725b2ff2ac4695765c2090d /A8_srv_build/add.php | |
parent | 6772fcc19fcf76720d4309b49504f01c08953f13 (diff) |
Can still attempt to add with seq and version empty. Make sure all three are used, else error.
Diffstat (limited to 'A8_srv_build/add.php')
-rw-r--r-- | A8_srv_build/add.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']); |