Pridana podpora relacnich linku nesouvisejicich s DB
[mirrors/SokoMan.git] / assistants / store.inc.php
index fcc420f55aadaf440831f5a135bb02281504c7ff..f9725765a16739dd2e05fc020aa8f72d862bd321 100644 (file)
@@ -1,8 +1,9 @@
 <?php
 switch($SUBPATH[0]) {
        default: case 1:
+               $barcode = isset($_GET['barcode']) ? htmlspecialchars($_GET['barcode']) : ''; //TODO: XSS
                echo $this->html->form("$URL/2", 'GET', array(
-                       array('barcode','','text',false,'autofocus','model_barcode:'),
+                       array('barcode',$barcode,'text',false,'autofocus','model_barcode:'),
                        array('quantity','1','text',false,false,'quantity:'),
                        array(false,'STORE','submit')
                ));
This page took 0.09486 seconds and 4 git commands to generate.