From 195868629497c88a82de60d0aca754943903620c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 12 Sep 2014 15:32:06 +0200 Subject: [PATCH] PriceRule: Vergleiche waren falsch herum --- SL/DB/Manager/PriceRuleItem.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/Manager/PriceRuleItem.pm b/SL/DB/Manager/PriceRuleItem.pm index 60e5d8248..632b0bf28 100644 --- a/SL/DB/Manager/PriceRuleItem.pm +++ b/SL/DB/Manager/PriceRuleItem.pm @@ -56,7 +56,7 @@ sub not_matching_sql_and_values { my $ops = $ops{$def->{ops}}; for (keys %$ops) { - push @sub_tokens, "op = '$_' AND NOT value_$def->{data_type} $ops->{$_} ?"; + push @sub_tokens, "op = '$_' AND NOT ? $ops->{$_} value_$def->{data_type}"; push @values, $value; } } else { -- 2.20.1