|
Lines 548-554
sub _validate_query {
Link Here
|
| 548 |
|
548 |
|
| 549 |
# Top-level OR combination or nested AND combination |
549 |
# Top-level OR combination or nested AND combination |
| 550 |
for my $element (@$query) { |
550 |
for my $element (@$query) { |
| 551 |
if ( ref $element eq 'ARRAY' && $element->[0] eq '-and' ) { |
551 |
if ( ref $element eq 'ARRAY' && scalar @{$element} && $element->[0] eq '-and' ) { |
| 552 |
_validate_query( $element->[1] ); |
552 |
_validate_query( $element->[1] ); |
| 553 |
} else { |
553 |
} else { |
| 554 |
_validate_query($element); |
554 |
_validate_query($element); |
| 555 |
- |
|
|