Bug #23698 ยป 15944.diff
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>';
|