Skip to content

Commit

Permalink
small modification
Browse files Browse the repository at this point in the history
Signed-off-by: Taggic <taggic@t-online.de>
  • Loading branch information
Taggic committed Jun 22, 2012
1 parent dbc97ed commit e17a011
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
}
Expand Down

0 comments on commit e17a011

Please sign in to comment.