Permalink
Browse files

small modification

Signed-off-by: Taggic <taggic@t-online.de>
  • Loading branch information...
Taggic committed Jun 22, 2012
1 parent dbc97ed commit e17a0117764b39b9771b35b1e579f436e7a7231a
Showing with 4 additions and 4 deletions.
  1. +4 −4 syntax.php
View
@@ -75,8 +75,8 @@ function handle($match, $state, $pos, &$handler) {
$xssnipper['from'] = $params[1];
$alpha = explode(' ',$params[2]);
$xssnipper['type'] = $alpha[0];
$xssnipper['file'] = $alpha[1];
$xssnipper['block'] = $alpha[2];
$xssnipper['file'] = $alpha[2];
$xssnipper['block'] = $alpha[1];
$xssnipper['code'] = $params[3];
}
else {
@@ -87,8 +87,8 @@ function handle($match, $state, $pos, &$handler) {
$xssnipper['until'] = $params[2];
$alpha = explode(' ',$params[3]);
$xssnipper['type'] = $alpha[0];
$xssnipper['file'] = $alpha[1];
$xssnipper['block'] = $alpha[2];
$xssnipper['file'] = $alpha[2];
$xssnipper['block'] = $alpha[1];
}
return $xssnipper;
}

0 comments on commit e17a011

Please sign in to comment.