Index: alt_doc.php =================================================================== RCS file: /cvsroot/typo3/TYPO3core/typo3/alt_doc.php,v retrieving revision 1.30.2.5 diff -u -r1.30.2.5 alt_doc.php --- alt_doc.php 22 Mar 2006 01:11:03 -0000 1.30.2.5 +++ alt_doc.php 27 Mar 2006 14:12:07 -0000 @@ -713,13 +713,18 @@ // Register default language labels, if any: $this->tceforms->registerDefaultLanguageData($table,$rec); - // Create form for the record (either specific list of fields or the whole record): + // Create form for the record (either specific list of fields or the whole record): $panel = ''; if ($this->columnsOnly) { - $panel.= $this->tceforms->getListedFields($table,$rec,$this->columnsOnly); + if(is_array($this->columnsOnly)){ + $panel.= $this->tceforms->getListedFields($table,$rec,$this->columnsOnly[$table]); + } else { + $panel.= $this->tceforms->getListedFields($table,$rec,$this->columnsOnly); + } } else { $panel.= $this->tceforms->getMainFields($table,$rec); } + $panel = $this->tceforms->wrapTotal($panel,$rec,$table); // Setting the pid value for new records: