From d32ce66d9187112209497149e6e8873e51521e21 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 18 Aug 2011 09:25:14 +0000 Subject: [PATCH] fixed grid in cf widget displays border, if options are set --- etemplate/inc/class.customfields_widget.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.customfields_widget.inc.php b/etemplate/inc/class.customfields_widget.inc.php index 7158462e57..2b48aaee0c 100644 --- a/etemplate/inc/class.customfields_widget.inc.php +++ b/etemplate/inc/class.customfields_widget.inc.php @@ -198,6 +198,7 @@ class customfields_widget $cell['type'] = 'grid'; $cell['data'] = array(array()); $cell['rows'] = $cell['cols'] = 0; + $cell['size'] = ''; $n = 1; foreach($fields as $lname => $field) @@ -474,7 +475,6 @@ class customfields_widget unset($label); } } - $cell['size'] = ''; if ($type != 'customfields-list') { $cell['data'][0]['A'] = '100';