Index: typo3/sysext/cms/tslib/class.tslib_content.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_content.php (revision 3978) +++ typo3/sysext/cms/tslib/class.tslib_content.php (working copy) @@ -6798,6 +6798,15 @@ // Construct WHERE clause: $conf['pidInList'] = trim($this->stdWrap($conf['pidInList'],$conf['pidInList.'])); + + // Handle recursive function for the pidInList + if (isset($conf['recursive']) && $conf['recursive'] > 0) { + foreach (explode(',', $conf['pidInList']) as $value) { + $pidList.= $value . ',' . $this->getTreeList($value, $conf['recursive']); + } + $conf['pidInList'] = trim($pidList, ','); + } + if (!strcmp($conf['pidInList'],'')) { $conf['pidInList'] = 'this'; }