Fix to a new bug introduced with the correlation engine

- an attribute could correlate with another attribut of the same event
pull/663/head
iglocska 2015-09-16 15:34:00 +02:00
parent b8fae35f34
commit 14188f1367
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
{"major":2, "minor":3, "hotfix":126}
{"major":2, "minor":3, "hotfix":127}

View File

@ -1009,6 +1009,7 @@ class Attribute extends AppModel {
'AND' => array(
'Attribute.type !=' => $this->nonCorrelatingTypes,
'Attribute.id !=' => $a['id'],
'Attribute.event_id !=' => $a['event_id']
),
),
'recursive => -1',