fix: [metaTemplateDirectory:index] No static call anymore

debug-branch
Sami Mokaddem 2023-03-23 13:35:45 +01:00
parent cc5914cccc
commit 8e2718a0ae
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ echo $this->element('genericElements/IndexTable/index_table', [
'data_path' => 'meta_template.id',
'element' => 'function',
'function' => function($row, $viewContext) {
return $viewContext->Bootstrap::node('a', [
return $viewContext->Bootstrap->node('a', [
'href' => h($baseurl . '/metaTemplates/view/' . $row->meta_template->id ?? ''),
], !empty($row->meta_template->name) ? (sprintf('%s (v%s)', h($row->meta_template->name), h($row->meta_template->version))) :'');
}