mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fix Nathans fix for old editor, to only use fallback for new widgets, if a type is given
This commit is contained in:
parent
395dd415f8
commit
c7d566533e
@ -1375,7 +1375,7 @@ class editor
|
||||
Not a known type, use a generic attribute thing to at least allow working
|
||||
with the attributes provided
|
||||
*/
|
||||
if(!boetemplate::$types[$widget['type']] && !$this->extensions[$widget['type']])
|
||||
if ($widget['type'] && !boetemplate::$types[$widget['type']] && !$this->extensions[$widget['type']])
|
||||
{
|
||||
$grid =& $editor->get_widget_by_name('etemplate.editor.widget.generic');
|
||||
$grid['type'] = 'grid';
|
||||
|
Loading…
Reference in New Issue
Block a user