Skip to content

Commit e676834

Browse files
committed
Replace TL_MODE for C5
1 parent 1d8c4dc commit e676834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Contao/Widgets/MultiColumnWizard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ private function buildWidgetForDcGeneral(array $arrData, array &$arrField)
13371337
$model->setId(9999999);
13381338
$model->setProperty($property->getName(), $arrField['value']);
13391339

1340-
if (TL_MODE === 'FE') {
1340+
if ($this->contaoApi->isFrontend()) {
13411341
$manager = new WidgetManager($environment, $model);
13421342
} else {
13431343
$manager = new ContaoWidgetManager($environment, $model);

0 commit comments

Comments
 (0)