Lines 1529-1538
sub buildQuery {
Link Here
|
1529 |
# OR every member of the group |
1529 |
# OR every member of the group |
1530 |
elsif ( $this_limit =~ /mc/ ) { |
1530 |
elsif ( $this_limit =~ /mc/ ) { |
1531 |
my ($k,$v) = split(/:/, $this_limit,2); |
1531 |
my ($k,$v) = split(/:/, $this_limit,2); |
1532 |
if ( $k !~ /mc-i(tem)?type/ ) { |
1532 |
if ( $k !~ /mc-i(tem)?type/ && $v !~ /[a-zA-Z0-9]/ ) { |
1533 |
# in case the mc-ccode value has complicating chars like ()'s inside it we wrap in quotes |
1533 |
# in case the mc-ccode value has complicating chars like ()'s inside it we wrap in quotes |
1534 |
$this_limit =~ tr/"//d; |
1534 |
$v =~ tr/"//d; |
1535 |
$this_limit = $k.":'".$v."'"; |
1535 |
$this_limit = qq{$k:'$v'}; |
1536 |
} |
1536 |
} |
1537 |
|
1537 |
|
1538 |
$group_OR_limits{$k} .= " or " if $group_OR_limits{$k}; |
1538 |
$group_OR_limits{$k} .= " or " if $group_OR_limits{$k}; |
1539 |
- |
|
|