diff options
Diffstat (limited to 'tools/bddb/dodelete.php')
-rw-r--r-- | tools/bddb/dodelete.php | 3 |
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"); |