X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=assistants%2Fgo.inc.php;h=a0521018779d4b40a6f16f64ecce26936e1ff313;hb=35916247a3b7ed49d0dc758ebdf76cf636763d2c;hp=d488e5edc982cbbe3aae6dca5fffae8790df8b5f;hpb=de77377e6fd58f2680074a5cf0b14494813d07ad;p=mirrors%2FSokoMan.git diff --git a/assistants/go.inc.php b/assistants/go.inc.php index d488e5e..a052101 100644 --- a/assistants/go.inc.php +++ b/assistants/go.inc.php @@ -1,4 +1,5 @@ post_redirect_get('',"This assistant shouldn't be used like this"); $id=$_GET['q']; $barcode_prefix_regexp = '/^'.preg_replace('/\//', '\/', BARCODE_PREFIX).'/'; if(preg_match($barcode_prefix_regexp, $id)) $id=preg_replace($barcode_prefix_regexp, '', $id);