Index: class.tx_commerce_element_alib.php =================================================================== --- class.tx_commerce_element_alib.php (revision 30260) +++ class.tx_commerce_element_alib.php (working copy) @@ -2,7 +2,7 @@ /*************************************************************** * Copyright notice * -* (c) 2005 - 2006 Ingo Schmitt +* (c) 2005 - 2010 Ingo Schmitt * All rights reserved * * This script is part of the Typo3 project. The Typo3 project is @@ -253,10 +253,7 @@ */ function add_fields_to_fieldlist($fieldarray){ - foreach ($fieldarray as $newfield){ - $this->add_field_to_fieldlist($newfield); - } - + $this->fieldlist = array_merge($this->fieldlist,$fieldarray); } /**