Feature #18489 » patch-recursive-content2.patch
typo3/sysext/cms/tslib/class.tslib_content.php (working copy) | ||
---|---|---|
// 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';
|
||
}
|
- « Previous
- 1
- 2
- Next »