From ddcbcd04c12791d3eefe9e2ece3595a1404ddbf3 Mon Sep 17 00:00:00 2001 From: Richard Henkenjohann Date: Mon, 31 Oct 2022 10:34:44 +0100 Subject: [PATCH] Fix the data container definition --- contao/dca/tl_toolbox_editor.php | 2 +- contao/dca/tl_toolbox_editor_css.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contao/dca/tl_toolbox_editor.php b/contao/dca/tl_toolbox_editor.php index 0c29c73..8a8a8a8 100644 --- a/contao/dca/tl_toolbox_editor.php +++ b/contao/dca/tl_toolbox_editor.php @@ -13,7 +13,7 @@ $GLOBALS['TL_DCA']['tl_toolbox_editor'] = [ // Config 'config' => [ - 'dataContainer' => 'Table', + 'dataContainer' => \Contao\DC_Table::class, 'ctable' => ['tl_toolbox_editor_css'], 'switchToEdit' => true, 'sql' => [ diff --git a/contao/dca/tl_toolbox_editor_css.php b/contao/dca/tl_toolbox_editor_css.php index 3a6509c..c0e4194 100644 --- a/contao/dca/tl_toolbox_editor_css.php +++ b/contao/dca/tl_toolbox_editor_css.php @@ -23,7 +23,7 @@ $GLOBALS['TL_DCA']['tl_toolbox_editor_css'] = [ // Config 'config' => [ - 'dataContainer' => 'Table', + 'dataContainer' => \Contao\DC_Table::class, 'ptable' => 'tl_toolbox_editor', 'switchToEdit' => true, 'enableVersioning' => true,