Skip to content

Commit cfce22a

Browse files
committed
Merge PR #1256 by @dmolineus
This calls `Controller::setStaticUrls()` for pickers to have the constants available.
2 parents 423198b + cb057cf commit cfce22a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/MetaModels/Widgets/PickerWidget.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* @author Ingolf Steinhardt <info@e-spin.de>
1919
* @author David Maack <david.maack@arcor.de>
2020
* @author Stefan Heimes <stefan_heimes@hotmail.com>
21+
* @author David Molineus <david.molineus@netzmacht.de>
2122
* @copyright 2012-2018 The MetaModels team.
2223
* @license https://github.com/MetaModels/core/blob/master/LICENSE LGPL-3.0-or-later
2324
* @filesource
@@ -51,6 +52,7 @@ class PickerWidget
5152
public function __construct()
5253
{
5354
BackendUser::getInstance()->authenticate();
55+
Controller::setStaticUrls();
5456
Controller::loadLanguageFile('default');
5557
Controller::loadLanguageFile('modules');
5658
}

0 commit comments

Comments
 (0)