Commit ecd5a399 by Van

Update CustomQueriesExtension.php fix pb include and exclude error

parent 5f903c8e
......@@ -160,6 +160,9 @@ class CustomQueriesExtension extends SimpleExtension
}
if(!empty($value['exclude'])) {
if(!empty($value['include'])){
$where .= ' AND';
}
$where .= ' (';
foreach ($value['exclude'] as $val) {
list($operator, $val) = $this->_getOperatorExclude($val);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment