diff options
Diffstat (limited to 'tools/bddb/donew.php')
-rw-r--r-- | tools/bddb/donew.php | 4 |
1 files changed, 3 insertions, 1 deletions
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"; |