projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Preisregeln: Präzedenzbug bei Mengenregel behoben
[kivitendo-erp.git]
/
SL
/
DB
/
Manager
/
PriceRuleItem.pm
diff --git
a/SL/DB/Manager/PriceRuleItem.pm
b/SL/DB/Manager/PriceRuleItem.pm
index
28f4d6f
..
ba3694c
100644
(file)
--- 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) ]})"
;
}
}