mirror of https://github.com/MISP/MISP
fix: [interna] deprecated text() function's tag filter fixed
parent
94938442f6
commit
c38d553192
|
@ -2219,7 +2219,7 @@ class Attribute extends AppModel
|
||||||
$conditions['AND'][] = array('Event.id' => $eventId);
|
$conditions['AND'][] = array('Event.id' => $eventId);
|
||||||
} elseif ($tags !== false) {
|
} elseif ($tags !== false) {
|
||||||
$passed_param = array('tags' => $tags);
|
$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(
|
$attributes = $this->fetchAttributes($user, array(
|
||||||
'conditions' => $conditions,
|
'conditions' => $conditions,
|
||||||
|
|
Loading…
Reference in New Issue