Index: typo3/sysext/cms/layout/db_layout.php
===================================================================
--- typo3/sysext/cms/layout/db_layout.php (revision 6395)
+++ typo3/sysext/cms/layout/db_layout.php (working copy)
@@ -525,8 +525,9 @@
if ($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 = '' . htmlspecialchars($contentPage['title']) . ' (PID ' . intval($this->pageinfo['content_from_pid']) . ')';
+ $link = '' . htmlspecialchars($title) . ' (PID ' . intval($this->pageinfo['content_from_pid']) . ')';
$flashMessage = t3lib_div::makeInstance(
't3lib_FlashMessage',
'',