diff --git a/etemplate/inc/class.etemplate_widget.inc.php b/etemplate/inc/class.etemplate_widget.inc.php index eb83ba4c98..0f8ec76d38 100644 --- a/etemplate/inc/class.etemplate_widget.inc.php +++ b/etemplate/inc/class.etemplate_widget.inc.php @@ -302,7 +302,10 @@ class etemplate_widget // Fall back to widget class, we can not ignore it, as the widget may contain other widgets $class_name = 'etemplate_widget'; // Don't warn about these known missing ones - if (!in_array($type, array('styles','menulist','tabs','tab','tabpanels','html','split','iframe','toolbar'))) + if (!in_array($type, array( + 'styles', 'menulist', 'tabs', 'tab', 'tabpanels', 'html', + 'split', 'iframe', 'toolbar', 'caption', + ))) { trigger_error("Could not find a class for $type, using $class_name", E_USER_NOTICE); }