From c38d553192d5f0394ec676c50e2d200a6ae0b891 Mon Sep 17 00:00:00 2001 From: iglocska Date: Fri, 25 Jan 2019 09:11:01 +0100 Subject: [PATCH] fix: [interna] deprecated text() function's tag filter fixed --- app/Model/Attribute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Model/Attribute.php b/app/Model/Attribute.php index 9762246f4..6c9d754ca 100644 --- a/app/Model/Attribute.php +++ b/app/Model/Attribute.php @@ -2219,7 +2219,7 @@ class Attribute extends AppModel $conditions['AND'][] = array('Event.id' => $eventId); } elseif ($tags !== false) { $passed_param = array('tags' => $tags); - $conditions = $this->set_filter_tags($passed_params, $conditions); + $conditions = $this->set_filter_tags($passed_param, $conditions, array('scope' => 'Attribute')); } $attributes = $this->fetchAttributes($user, array( 'conditions' => $conditions,