]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/bddb/donew.php
Change 16bit bus width detection for i.MX53
[karo-tx-uboot.git] / tools / bddb / donew.php
index 0f6e0d75ece6ce38032322cd80871f14840180a6..39b2c78fcae1970b8a431b19040f04145f673dd0 100644 (file)
@@ -1,7 +1,7 @@
 <?php // php pages made with phpMyBuilder <http://kyber.dk/phpMyBuilder> ?>
 <?php
        // (C) Copyright 2001
-       // Murray Jensen <Murray.Jensen@cmst.csiro.au>
+       // Murray Jensen <Murray.Jensen@csiro.au>
        // CSIRO Manufacturing Science and Technology, Preston Lab
 
        // doedit page (hymod_bddb / boards)
 
        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";