diff --git a/etemplate/inc/class.etemplate_widget_tabbox.inc.php b/etemplate/inc/class.etemplate_widget_tabbox.inc.php index b0a5b86334..e10091e0c0 100644 --- a/etemplate/inc/class.etemplate_widget_tabbox.inc.php +++ b/etemplate/inc/class.etemplate_widget_tabbox.inc.php @@ -55,7 +55,8 @@ class etemplate_widget_tabbox extends etemplate_widget public function validate($cname, array $expand, array $content, &$validated=array()) { $form_name = self::form_name($cname, $this->id, $expand); - if (!$this->is_readonly($cname, $form_name)) + + if (!empty($form_name)) { $value = self::get_array($content, $form_name); $valid =& self::get_array($validated, $form_name, true);