X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tools%2Fbddb%2Fexecute.php;h=0b62882d75135bead4e54dc3908f28d1633bcd9d;hb=fbcb7ece0ea1e364180f1cf963e0fa0ce7f6560d;hp=4cc87c7a4d1e852c5bbb3d95d132864d3d39351b;hpb=b3b0fd552e11cb47cded66c42274acd710c8aee2;p=u-boot diff --git a/tools/bddb/execute.php b/tools/bddb/execute.php index 4cc87c7a4d..0b62882d75 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) {