tricorder: add tricordereeprom command
[oweals/u-boot.git] / tools / bddb / donew.php
index b1288d68a3528b866a9ebdd38f7c2c7d0775b00a..39b2c78fcae1970b8a431b19040f04145f673dd0 100644 (file)
 
        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";