]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Manager/PriceRuleItem.pm
Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[mfinanz.git] / SL / DB / Manager / PriceRuleItem.pm
index 28f4d6f514639610679cbb70a23e78162e872d53..ba3694c4756d71a633ef44a7ba962a4c78ca9910 100644 (file)
@@ -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) ]})";
     }
   }