From 5a03cff75d40bc5e6eb723a440b5b1021bd2adfa Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 5 Aug 2010 15:36:23 +0000 Subject: [PATCH] set span & class from original cell for single fields --- etemplate/inc/class.customfields_widget.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/etemplate/inc/class.customfields_widget.inc.php b/etemplate/inc/class.customfields_widget.inc.php index 5a034d0ddc..996f89600a 100644 --- a/etemplate/inc/class.customfields_widget.inc.php +++ b/etemplate/inc/class.customfields_widget.inc.php @@ -436,6 +436,7 @@ class customfields_widget } if ($singlefield) // a single field, can & need to be returned instead of the cell (no grid) { + $input['span'] = $cell['span']; // set span & class from original cell $cell = $input; if ($type == 'customfields') $cell['label'] = $field['label']; $value = $value[$this->prefix.$lname];