diff --git a/src/Column/Type/TemplateColumnType.php b/src/Column/Type/TemplateColumnType.php index 0cc8e91b..d220dfaa 100644 --- a/src/Column/Type/TemplateColumnType.php +++ b/src/Column/Type/TemplateColumnType.php @@ -16,7 +16,7 @@ public function buildValueView(ColumnValueView $view, ColumnInterface $column, a $templatePath = $templatePath($view->vars['data']); } - if (is_callable($templateVars = $options['target'])) { + if (is_callable($templateVars = $options['template_vars'])) { $templateVars = $templateVars($view->vars['data']); }