summaryrefslogtreecommitdiff
path: root/tools/bddb/dodelete.php
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-08-12 23:27:18 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-08-12 23:27:18 +0200
commitd992daf99d1ce39ee18b353b67fdfa181d83fbff (patch)
treea9b5f98b73706e024bc7cd7a14ca2674bd75a55c /tools/bddb/dodelete.php
parentf9d77ed38031fa29d1495bf3cfee385450463f5b (diff)
downloadu-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/dodelete.php')
-rw-r--r--tools/bddb/dodelete.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/bddb/dodelete.php b/tools/bddb/dodelete.php
index f1567d2..4839e36 100644
--- a/tools/bddb/dodelete.php
+++ b/tools/bddb/dodelete.php
@@ -10,8 +10,9 @@
pg_head("$bddb_label - Delete Board Results");
- if (!($serno=intval($serno)))
+ if (!isset($_REQUEST['serno']))
die("the board serial number was not specified");
+ $serno=intval($_REQUEST['serno']);
mysql_query("delete from boards where serno=$serno");