[BUGFIX] Missing XCLASS statement for class LiveSearch
authorSteffen Gebert <steffen.gebert@typo3.org>
Wed, 1 Jun 2011 17:18:17 +0000 (19:18 +0200)
committerSteffen Gebert <steffen.gebert@typo3.org>
Wed, 1 Jun 2011 17:28:47 +0000 (19:28 +0200)
Change-Id: I5760b16fca1c4b057c092bf6490fe9a9be349a7e
Resolves: #27152
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/2489
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
typo3/classes/class.livesearch.php

index bba0cb2..d871529 100644 (file)
@@ -108,4 +108,8 @@ class LiveSearch implements backend_toolbarItem {
 
 }
 
-?>
+if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['typo3/classes/class.livesearch.php'])) {
+       include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['typo3/classes/class.livesearch.php']);
+}
+
+?>
\ No newline at end of file