[BUGFIX] TableListViewHelper fatal
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 26 Aug 2012 12:37:49 +0000 (14:37 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 26 Aug 2012 12:39:35 +0000 (14:39 +0200)
Namespace declaration is at wrong position

Change-Id: Ifd3c9091b835a528bd254d8d2970e12f2efe7120
Resolves: #40228
Related: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14107
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/fluid/Classes/ViewHelpers/Be/TableListViewHelper.php

index c2bcb6e..53da91a 100644 (file)
@@ -1,4 +1,6 @@
 <?php
+namespace TYPO3\CMS\Fluid\ViewHelpers\Be;
+
 /*                                                                        *
  * This script is backported from the FLOW3 package "TYPO3.Fluid".        *
  *                                                                        *
@@ -44,7 +46,6 @@
  */
 require_once PATH_typo3 . 'class.db_list.inc';
 require_once PATH_typo3 . 'class.db_list_extra.inc';
-namespace TYPO3\CMS\Fluid\ViewHelpers\Be;
 
 class TableListViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBackendViewHelper {