mirror of https://github.com/MISP/MISP
Fix export for non md5/sha1/sha256 types
parent
d092187847
commit
dc9c205f8d
|
@ -41,7 +41,7 @@ class Job extends AppModel {
|
|||
'org_id' => $user['Role']['perm_site_admin'] ? 0 : $user['org_id'],
|
||||
'message' => 'Fetching events.',
|
||||
);
|
||||
if ($type === 'md5' || $type === 'sha1' || $type = 'sha256') {
|
||||
if ($type === 'md5' || $type === 'sha1' || $type === 'sha256') {
|
||||
$extra = $type;
|
||||
$type = 'hids';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue