Project

General

Profile

Bug #23698 ยป 15944.diff

Administrator Admin, 2010-10-10 11:58

View differences:

typo3/sysext/cms/layout/db_layout.php (working copy)
if ($this->pageinfo['content_from_pid']) {
//$contentPage = t3lib_BEfunc::getRecord('pages', intval($this->pageinfo['content_from_pid']));
$contentPage = t3lib_BEfunc::getRecord('pages', intval($this->pageinfo['content_from_pid']));
$title = t3lib_BEfunc::getRecordTitle('pages', $contentPage);
$linkToPid = $this->local_linkThisScript(array('id' => $this->pageinfo['content_from_pid']));
$link = '<a href="' . $linkToPid . '">' . htmlspecialchars($title) . ' (PID ' . intval($this->pageinfo['content_from_pid']) . ')</a>';
    (1-1/1)