Fix customfield-type transformation

This commit is contained in:
Nathan Gray 2012-03-20 22:37:52 +00:00
parent 674f801c37
commit 93b51ddefe

View File

@ -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)
{