]> git.sur5r.net Git - u-boot/blobdiff - tools/bddb/donew.php
Merge with /home/wd/git/u-boot/master
[u-boot] / 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";