X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/df41380a9c1150938985322c48ef20fe7f2cd98b..c0a781b51f38e1d980cfdcf28168606a9fda516b:/SL/DB/Manager/PriceRuleItem.pm diff --git a/SL/DB/Manager/PriceRuleItem.pm b/SL/DB/Manager/PriceRuleItem.pm index 28f4d6f51..ba3694c47 100644 --- a/SL/DB/Manager/PriceRuleItem.pm +++ b/SL/DB/Manager/PriceRuleItem.pm @@ -65,7 +65,7 @@ sub not_matching_sql_and_values { push @values, $value; } - push @tokens, "type = '$type' AND " . join ' OR ', map "($_)", @sub_tokens; + push @tokens, "type = '$type' AND (@{[ join(' OR ', map qq|($_)|, @sub_tokens) ]})"; } }