From 8e880babe5c902828dc076b859bbb9ba9643e15f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 5 May 2016 12:40:36 +0000 Subject: [PATCH] load eT2 widgets first, as eg. customfield_widget depends on eT2 Widget\Transformer --- etemplate/inc/class.editor.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etemplate/inc/class.editor.inc.php b/etemplate/inc/class.editor.inc.php index c31768b086..e0baefb0fd 100644 --- a/etemplate/inc/class.editor.inc.php +++ b/etemplate/inc/class.editor.inc.php @@ -1595,6 +1595,9 @@ class editor if (isset($this->extensions['**loaded**'][$app])) return ''; // already loaded + // load eT2 widgets first, as eg. customfield_widget depends on eT2 Widget\Transformer + EGroupware\Api\Etemplate\Widget::scanForWidgets(); + $labels = array(); $dir = @opendir(EGW_SERVER_ROOT.'/'.$app.'/inc'); while ($dir && ($file = readdir($dir)))