fix: [API] Further fixes to the query builder

pull/3757/head
iglocska 2018-10-10 20:38:09 +02:00
parent 3d9129db1a
commit 4ce81e5d0b
1 changed files with 1 additions and 0 deletions

View File

@ -2130,6 +2130,7 @@ class Attribute extends AppModel
if (!empty($temp)) {
$conditions['AND'][] = array('OR' => $temp);
}
$temp = array();
if (!empty($tagArray[1])) {
if ($options['scope'] == 'all' || $options['scope'] == 'Event') {
$subquery_options = array(