[+BUGFIX] Extbase (Utility): Added condition to Tx_Extbase_Utility_Extension::getTarg...
authorBastian Waidelich <bastian@typo3.org>
Mon, 15 Nov 2010 21:58:04 +0000 (21:58 +0000)
committerBastian Waidelich <bastian@typo3.org>
Mon, 15 Nov 2010 21:58:04 +0000 (21:58 +0000)
typo3/sysext/extbase/Classes/Utility/Extension.php

index 5216c6e..dce615f 100644 (file)
@@ -541,7 +541,7 @@ tt_content.list.20.' . $pluginSignature . ' {
                        $pages = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows(
                                'pid',
                                'tt_content',
-                               'list_type=' . $GLOBALS['TYPO3_DB']->fullQuoteStr($pluginSignature, 'tt_content') . $GLOBALS['TSFE']->sys_page->enableFields('tt_content'),
+                               'list_type=' . $GLOBALS['TYPO3_DB']->fullQuoteStr($pluginSignature, 'tt_content') . ' AND CType="list"' . $GLOBALS['TSFE']->sys_page->enableFields('tt_content'),
                                '',
                                '',
                                2