fix: handle meta-category renaming

pull/9246/head
Luciano Righetti 2023-08-10 16:33:32 +02:00
parent 8239889e8f
commit 8901e860a2
1 changed files with 1 additions and 0 deletions

View File

@ -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',
[