Fix editor to still work with existing basic widgets

This commit is contained in:
Nathan Gray 2013-04-08 14:31:43 +00:00
parent 715d45a2c1
commit af43412921

View File

@ -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(!$this->types[$widget['type']] && !$this->extensions[$widget['type']])
if(!boetemplate::$types[$widget['type']] && !$this->extensions[$widget['type']])
{
$grid =& $editor->get_widget_by_name('etemplate.editor.widget.generic');
$grid['type'] = 'grid';