Lines 1700-1709
sub buildQuery {
Link Here
|
1700 |
# OR every member of the group |
1700 |
# OR every member of the group |
1701 |
elsif ( $this_limit =~ /mc/ ) { |
1701 |
elsif ( $this_limit =~ /mc/ ) { |
1702 |
my ($k,$v) = split(/:/, $this_limit,2); |
1702 |
my ($k,$v) = split(/:/, $this_limit,2); |
1703 |
if ( $k !~ /mc-i(tem)?type/ ) { |
1703 |
if ( $k !~ /mc-i(tem)?type/ && $v !~ /[a-zA-Z0-9]/ ) { |
1704 |
# in case the mc-ccode value has complicating chars like ()'s inside it we wrap in quotes |
1704 |
# in case the mc-ccode value has complicating chars like ()'s inside it we wrap in quotes |
1705 |
$this_limit =~ tr/"//d; |
1705 |
$v =~ tr/"//d; |
1706 |
$this_limit = $k.":'".$v."'"; |
1706 |
$this_limit = qq{$k:'$v'}; |
1707 |
} |
1707 |
} |
1708 |
|
1708 |
|
1709 |
$group_OR_limits{$k} .= " or " if $group_OR_limits{$k}; |
1709 |
$group_OR_limits{$k} .= " or " if $group_OR_limits{$k}; |
1710 |
- |
|
|