GIT.Harvie.CZ
/
mirrors
/
SokoMan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pridana abstrakce pro generovani obrazkovych linku
[mirrors/SokoMan.git]
/
assistants
/
store.inc.php
diff --git
a/assistants/store.inc.php
b/assistants/store.inc.php
index fcc420f55aadaf440831f5a135bb02281504c7ff..f9725765a16739dd2e05fc020aa8f72d862bd321 100644
(file)
--- a/
assistants/store.inc.php
+++ b/
assistants/store.inc.php
@@
-1,8
+1,9
@@
<?php
switch($SUBPATH[0]) {
default: case 1:
<?php
switch($SUBPATH[0]) {
default: case 1:
+ $barcode = isset($_GET['barcode']) ? htmlspecialchars($_GET['barcode']) : ''; //TODO: XSS
echo $this->html->form("$URL/2", 'GET', array(
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')
));
array('quantity','1','text',false,false,'quantity:'),
array(false,'STORE','submit')
));
This page took
0.127147 seconds
and
4
git commands to generate.