commit | d992daf99d1ce39ee18b353b67fdfa181d83fbff | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@pollux.denx.de> | Fri Aug 12 23:27:18 2005 +0200 |
committer | Wolfgang Denk <wd@pollux.denx.de> | Fri Aug 12 23:27:18 2005 +0200 |
tree | a9b5f98b73706e024bc7cd7a14ca2674bd75a55c | |
parent | f9d77ed38031fa29d1495bf3cfee385450463f5b [diff] [blame] |
Update Hymod Board Database PHP code in "tools" directory Patch by Murray Jensen, 01 Jul 2005
diff --git a/tools/bddb/donew.php b/tools/bddb/donew.php index b1288d6..39b2c78 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";