diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2005-08-12 23:27:18 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2005-08-12 23:27:18 +0200 |
commit | d992daf99d1ce39ee18b353b67fdfa181d83fbff (patch) | |
tree | a9b5f98b73706e024bc7cd7a14ca2674bd75a55c /tools/bddb/edlog.php | |
parent | f9d77ed38031fa29d1495bf3cfee385450463f5b (diff) | |
download | u-boot-imx-d992daf99d1ce39ee18b353b67fdfa181d83fbff.zip u-boot-imx-d992daf99d1ce39ee18b353b67fdfa181d83fbff.tar.gz u-boot-imx-d992daf99d1ce39ee18b353b67fdfa181d83fbff.tar.bz2 |
Update Hymod Board Database PHP code in "tools" directory
Patch by Murray Jensen, 01 Jul 2005
Diffstat (limited to 'tools/bddb/edlog.php')
-rw-r--r-- | tools/bddb/edlog.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/bddb/edlog.php b/tools/bddb/edlog.php index 375dca3..8befd35 100644 --- a/tools/bddb/edlog.php +++ b/tools/bddb/edlog.php @@ -10,11 +10,13 @@ pg_head("$bddb_label - Edit Board Log Entry"); - if ($serno == 0) + if (!isset($_REQUEST['serno']) || $_REQUEST['serno'] == '') die("serial number not specified!"); + $serno=intval($_REQUEST['serno']); - if (!isset($logno) || $logno == 0) + if (!isset($_REQUEST['logno']) || $_REQUEST['logno'] == '') die("log number not specified!"); + $logno=intval($_REQUEST['logno']); $pserno = sprintf("%010d", $serno); $plogno = sprintf("%010d", $logno); |