diff --git a/etemplate/inc/class.editor.inc.php b/etemplate/inc/class.editor.inc.php index 12a54778c5..37addf7c68 100644 --- a/etemplate/inc/class.editor.inc.php +++ b/etemplate/inc/class.editor.inc.php @@ -1547,6 +1547,8 @@ class editor $dir = @opendir(EGW_SERVER_ROOT.'/'.$app.'/inc'); while ($dir && ($file = readdir($dir))) { + if ($file == 'class.etemplate_widget.inc.php') continue; // ignore et2 base-class, it's no widget for old etemplate + if (preg_match('/class\\.([a-zA-Z0-9_]*)_widget.inc.php/',$file,$regs) && ($regs[1] != 'xslt' || $this->etemplate->xslt) && ($ext = $this->etemplate->loadExtension($regs[1].'.'.$app,$this->etemplate)))