diff --git a/templates/MetaTemplateNameDirectory/index.php b/templates/MetaTemplateNameDirectory/index.php index 0b57d8c..6205ecf 100644 --- a/templates/MetaTemplateNameDirectory/index.php +++ b/templates/MetaTemplateNameDirectory/index.php @@ -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))) :''); }