summaryrefslogtreecommitdiff
path: root/tools/bddb/dodellog.php
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bddb/dodellog.php')
-rw-r--r--tools/bddb/dodellog.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/bddb/dodellog.php b/tools/bddb/dodellog.php
index 5942ec9a520..9dd78c11b6d 100644
--- a/tools/bddb/dodellog.php
+++ b/tools/bddb/dodellog.php
@@ -10,11 +10,13 @@
pg_head("$bddb_label - Delete Log Entry Results");
- if (!($serno=intval($serno)))
+ if (!isset($_REQUEST['serno']))
die("the board serial number was not specified");
+ $serno=intval($_REQUEST['serno']);
- if (!isset($logno) || $logno == 0)
+ if (!isset($_REQUEST['logno']) || $_REQUEST['logno'] == 0)
die("the log entry number not specified!");
+ $logno=$_REQUEST['logno'];
mysql_query("delete from log where serno=$serno and logno=$logno");