From 14188f136784e45471b8b49b13849b15ad40d47c Mon Sep 17 00:00:00 2001 From: iglocska Date: Wed, 16 Sep 2015 15:34:00 +0200 Subject: [PATCH] Fix to a new bug introduced with the correlation engine - an attribute could correlate with another attribut of the same event --- VERSION.json | 2 +- app/Model/Attribute.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VERSION.json b/VERSION.json index 59803d254..04f80fdef 100644 --- a/VERSION.json +++ b/VERSION.json @@ -1 +1 @@ -{"major":2, "minor":3, "hotfix":126} \ No newline at end of file +{"major":2, "minor":3, "hotfix":127} \ No newline at end of file diff --git a/app/Model/Attribute.php b/app/Model/Attribute.php index e0f8382a2..4f8703b6c 100755 --- a/app/Model/Attribute.php +++ b/app/Model/Attribute.php @@ -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',