From 93b51ddefe0ba826d84ecac537a5366e3c2fe4dd Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 20 Mar 2012 22:37:52 +0000 Subject: [PATCH] Fix customfield-type transformation --- etemplate/inc/class.etemplate_widget_customfields.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.etemplate_widget_customfields.inc.php b/etemplate/inc/class.etemplate_widget_customfields.inc.php index bc4f81c333..4b98055540 100644 --- a/etemplate/inc/class.etemplate_widget_customfields.inc.php +++ b/etemplate/inc/class.etemplate_widget_customfields.inc.php @@ -160,7 +160,7 @@ class etemplate_widget_customfields extends etemplate_widget_transformer self::$transformation['type'][$type]['sel_options'] = $sel_options; self::$transformation['type'][$type]['no_lang'] = true; - return parent::beforeSendToClient($form_name); + return parent::beforeSendToClient($cname); case 'customfields-list': foreach(array_reverse($fields) as $lname => $field) {