From e53f781610c3529fe81636c0740d4971ce4a0f10 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 6 Nov 2013 10:30:18 +0000 Subject: [PATCH] adding caption too --- etemplate/inc/class.etemplate_widget.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); }