Project

General

Profile

Bug #24278 » 16653_45.patch

Administrator Admin, 2010-12-09 21:34

View differences:

typo3/class.db_list.inc (Arbeitskopie)
}
if ($sL>0) {
$tree = $this->getTreeObject($id,$sL,$this->perms_clause);
$this->pidSelect = 'pid IN ('.implode(',',$tree->ids).')';
$tree = $this->getTreeObject($this->id, $sL, $this->perms_clause);
$pidList = implode(',', $GLOBALS['TYPO3_DB']->cleanIntArray($tree->ids));
$this->pidSelect = 'pid IN (' . $pidList . ')';
} else {
$this->pidSelect = 'pid='.intval($id);
}
(5-5/5)