From b45a7d7439fbb286b33e587e48a087cc047679bc Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 10 Jun 2013 23:29:48 +0000 Subject: [PATCH] Fix tabs sometimes break subsequent namespaces --- etemplate/inc/class.etemplate_widget_tabbox.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etemplate/inc/class.etemplate_widget_tabbox.inc.php b/etemplate/inc/class.etemplate_widget_tabbox.inc.php index f9b2cba623..de00148ded 100644 --- a/etemplate/inc/class.etemplate_widget_tabbox.inc.php +++ b/etemplate/inc/class.etemplate_widget_tabbox.inc.php @@ -14,7 +14,7 @@ /** * eTemplate Tabs widget stacks multiple sub-templates and lets you switch between them */ -class etemplate_widget_tabbox extends etemplate_widget +class etemplate_widget_tabbox extends etemplate_widget_box { /** * Validate input - just pass through, tabs doesn't care @@ -27,7 +27,7 @@ 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); + $form_name = $cname; if (!$this->is_readonly($cname, $form_name)) {