mirror of https://github.com/MISP/MISP
fix: handle meta-category renaming
parent
8239889e8f
commit
8901e860a2
|
@ -62,6 +62,7 @@ class ObjectTemplatesTable extends AppTable
|
|||
if (!isset($template['version'])) {
|
||||
$template['version'] = 1;
|
||||
}
|
||||
$template['meta_category'] = $template['meta-category'] ?? '';
|
||||
$current = $this->find(
|
||||
'all',
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue