Bug #25372 ยป 25372.diff
t3lib/class.t3lib_treeview.php (copie de travail) | ||
---|---|---|
// Preparing rootRec for the mount
|
||
if ($uid) {
|
||
$rootRec = $this->getRecord($uid);
|
||
$firstHtml.=$this->getIcon($rootRec);
|
||
if (is_array($rootRec)) {
|
||
$firstHtml.=$this->getIcon($rootRec);
|
||
}
|
||
} else {
|
||
// Artificial record for the tree root, id=0
|
||
$rootRec = $this->getRootRecord($uid);
|
||
$firstHtml.=$this->getRootIcon($rootRec);
|
||
if (is_array($rootRec)) {
|
||
$firstHtml.=$this->getRootIcon($rootRec);
|
||
}
|
||
}
|
||
if (is_array($rootRec)) {
|
typo3/class.webpagetree.php (copie de travail) | ||
---|---|---|
// Preparing rootRec for the mount
|
||
if ($uid) {
|
||
$rootRec = $this->getRecord($uid);
|
||
$firstHtml.=$this->getIcon($rootRec);
|
||
if(is_array($rootRec)) {
|
||
$firstHtml.=$this->getIcon($rootRec);
|
||
}
|
||
} else {
|
||
// Artificial record for the tree root, id=0
|
||
$rootRec = $this->getRootRecord($uid);
|
||
$firstHtml.=$this->getRootIcon($rootRec);
|
||
if(is_array($rootRec)) {
|
||
$firstHtml.=$this->getRootIcon($rootRec);
|
||
}
|
||
}
|
||
if (is_array($rootRec)) {
|