From d6509ad506ca6345a11abb66abca5dc45e0dfbca Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 18 Aug 2011 09:22:59 +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 b09dcacbee..d20806eac2 100644 --- a/etemplate/inc/class.customfields_widget.inc.php +++ b/etemplate/inc/class.customfields_widget.inc.php @@ -199,6 +199,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) @@ -481,7 +482,6 @@ class customfields_widget unset($label); } } - $cell['size'] = ''; if ($type != 'customfields-list') { $cell['data'][0]['A'] = '100';