From 4c1b672b721b403af28e77fd00aba8df0e2cf334 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 29 Dec 2006 06:50:49 +0000 Subject: [PATCH] fix for bug #41: etemplate generates empty images --- etemplate/inc/class.uietemplate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.uietemplate.inc.php b/etemplate/inc/class.uietemplate.inc.php index 39adda9bae..f536284a8a 100644 --- a/etemplate/inc/class.uietemplate.inc.php +++ b/etemplate/inc/class.uietemplate.inc.php @@ -810,7 +810,7 @@ { $cell['size'] = $this->expand_name($cell['size'],$show_c,$show_row,$content['.c'],$content['.row'],$content); } - if ($cell['disabled'] && $readonlys[$name] !== false || $readonly && $cell['type'] == 'button' && $cell['size'] && strpos($cell['size'],',')===false) + if ($cell['disabled'] && $readonlys[$name] !== false || $readonly && $cell['type'] == 'button' && strpos($cell['size'],',')===false) { if ($this->rows == 1) { return ''; // if only one row omit cell