From b43a3843d24a69bbbb5bbf3c738cdb686c1be159 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 25 May 2010 13:17:46 +0000 Subject: [PATCH] fixing bug #2609: Saving attached files to the filemanager doesn't work --- etemplate/inc/class.etemplate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.etemplate.inc.php b/etemplate/inc/class.etemplate.inc.php index 05a71a398e..dbddfc9ab8 100644 --- a/etemplate/inc/class.etemplate.inc.php +++ b/etemplate/inc/class.etemplate.inc.php @@ -1692,7 +1692,7 @@ class etemplate extends boetemplate { $html = html::table($rows,html::formatOptions($cell_options,',,cellpadding,cellspacing'). ($type != 'groupbox' ? html::formatOptions($class,'class'). - self::get_id($form_name,$cell['name'],$cell['id']) : ''). + ($cell['name'] ? self::get_id($form_name,$cell['name'],$cell['id']) : '') : ''). ($cell['align'] && $orient != 'horizontal' || $sub_cell_has_align ? ' width="100%"' : '')); // alignment only works if table has full width if ($type != 'groupbox') $class = ''; // otherwise we create an extra div }