Skip to content

Commit

Permalink
Merge pull request #1128 from marcus-h/bsxpath_array_deref
Browse files Browse the repository at this point in the history
[backend] fixed array dereference in BSXPath
  • Loading branch information
mlschroe committed Sep 11, 2015
2 parents 95c866e + 967949f commit c59be3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/BSXPath.pm
Expand Up @@ -163,7 +163,7 @@ sub predicate {
while (1) {
my $r = shift @ncwd;
my $b = shift @$v2;
$b = @$_ ? 'true' : '' if ref($b) eq 'ARRAY';
$b = @$b ? 'true' : '' if ref($b) eq 'ARRAY';
if ($b =~ /^-?\d+$/) {
push @nvv, $r->[1] if $r->[2] == $b;
} else {
Expand Down

0 comments on commit c59be3b

Please sign in to comment.