mirror of https://github.com/MISP/MISP
bug with the text export
parent
3b8f9b9e2b
commit
d40b0f8c34
|
@ -1232,7 +1232,7 @@ class Attribute extends AppModel {
|
|||
return $rules;
|
||||
}
|
||||
|
||||
public function text($org, $isSiteAdmin, $type, $tags) {
|
||||
public function text($org, $isSiteAdmin, $type, $tags = '') {
|
||||
//restricting to non-private or same org if the user is not a site-admin.
|
||||
$conditions['AND'] = array('Attribute.type' => $type, 'Attribute.to_ids =' => 1, 'Event.published =' => 1);
|
||||
if (!$isSiteAdmin) {
|
||||
|
|
Loading…
Reference in New Issue