Fix export for non md5/sha1/sha256 types

pull/1417/head
Richard van den Berg 2016-08-08 13:29:34 +02:00
parent d092187847
commit dc9c205f8d
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}