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/donew.php | |
parent | f9d77ed38031fa29d1495bf3cfee385450463f5b (diff) | |
download | u-boot-d992daf99d1ce39ee18b353b67fdfa181d83fbff.tar.gz u-boot-d992daf99d1ce39ee18b353b67fdfa181d83fbff.tar.xz u-boot-d992daf99d1ce39ee18b353b67fdfa181d83fbff.zip |
Update Hymod Board Database PHP code in "tools" directory
Patch by Murray Jensen, 01 Jul 2005
Diffstat (limited to 'tools/bddb/donew.php')
-rw-r--r-- | tools/bddb/donew.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/bddb/donew.php b/tools/bddb/donew.php index b1288d68a3..39b2c78fca 100644 --- a/tools/bddb/donew.php +++ b/tools/bddb/donew.php @@ -10,8 +10,10 @@ pg_head("$bddb_label - Board Registration Results"); - if (($serno=intval($serno)) != 0) + if (isset($_REQUEST['serno'])) { + $serno=$_REQUEST['serno']; die("serial number must not be set ($serno) when Creating!"); + } $query="update boards set"; |