From d992daf99d1ce39ee18b353b67fdfa181d83fbff Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Fri, 12 Aug 2005 23:27:18 +0200 Subject: Update Hymod Board Database PHP code in "tools" directory Patch by Murray Jensen, 01 Jul 2005 --- tools/bddb/execute.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'tools/bddb/execute.php') diff --git a/tools/bddb/execute.php b/tools/bddb/execute.php index 4cc87c7..0b62882 100644 --- a/tools/bddb/execute.php +++ b/tools/bddb/execute.php @@ -4,13 +4,9 @@ // Murray Jensen // CSIRO Manufacturing Science and Technology, Preston Lab - if (!isset($serno)) - $serno = 0; - else - $serno = intval($serno); + $serno=isset($_REQUEST['serno'])?$_REQUEST['serno']:''; - if (!isset($submit)) - $submit = "[NOT SET]"; + $submit=isset($_REQUEST['submit'])?$_REQUEST['submit']:"[NOT SET]"; switch ($submit) { -- cgit v1.1