projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Hymod Board Database PHP code in "tools" directory
[platform/kernel/u-boot.git]
/
tools
/
bddb
/
dodelete.php
diff --git
a/tools/bddb/dodelete.php
b/tools/bddb/dodelete.php
index
f1567d2
..
4839e36
100644
(file)
--- a/
tools/bddb/dodelete.php
+++ b/
tools/bddb/dodelete.php
@@
-10,8
+10,9
@@
pg_head("$bddb_label - Delete Board Results");
pg_head("$bddb_label - Delete Board Results");
- if (!
($serno=intval($serno)
))
+ if (!
isset($_REQUEST['serno']
))
die("the board serial number was not specified");
die("the board serial number was not specified");
+ $serno=intval($_REQUEST['serno']);
mysql_query("delete from boards where serno=$serno");
mysql_query("delete from boards where serno=$serno");