Fixed bug #9345: Bug: CSV export includes _CLIPBOARD_ in header row (thanks to Christ...
authorSteffen Kamper <info@sk-typo3.de>
Thu, 22 Jan 2009 19:05:05 +0000 (19:05 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Thu, 22 Jan 2009 19:05:05 +0000 (19:05 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4821 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.db_list_extra.inc

index a7c647f..dca43ef 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2009-01-20  Steffen Kamper  <info@sk-typo3.de>
 
+       * Fixed bug #9345: Bug: CSV export includes _CLIPBOARD_ in      header row (thanks to Christian Kuhn)
        * Fixed bug #10220: Feature: Get some unit tests for the core (thanks to Oliver Klee)
 
 2009-01-21  Stanislas Rolland  <typo3@sjbr.ca>
index 2acfe24..f3c8eaf 100755 (executable)
@@ -1484,7 +1484,7 @@ class localRecordList extends recordList {
                        // Getting header line with field names:
                $csvRow = array();
                foreach ($this->fieldArray as $fN) {
-                       if ($fN == '_CONTROL_' || $fn == '_CLIPBOARD_') {
+                       if ($fN == '_CONTROL_' || $fN == '_CLIPBOARD_') {
                                        continue;
                        }
                        $csvRow[] = $fN;
@@ -1574,4 +1574,4 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/class
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/class.db_list_extra.inc']);
 }
 
-?>
\ No newline at end of file
+?>