Index: typo3/sysext/impexp/app/index.php =================================================================== --- typo3/sysext/impexp/app/index.php (revision 8692) +++ typo3/sysext/impexp/app/index.php (working copy) @@ -834,11 +834,18 @@ $rParts = explode(':', $ref); $tName = $rParts[0]; - if ($GLOBALS['BE_USER']->check('tables_select',$tName)) { - $rec = t3lib_BEfunc::getRecordWSOL('pages', $rParts[1]); - $tblList .= 'Table "' . $tName . '" from ' . t3lib_iconworks::getSpriteIconForRecord('pages', $rec) . - t3lib_BEfunc::getRecordTitle('pages', $rec, TRUE). - '
'; + if ($GLOBALS['BE_USER']->check('tables_select', $tName)) { + // root page + if ($rParts[1] == 0) { + $pageIcon = t3lib_iconWorks::getSpriteIcon('apps-pagetree-root'); + $pageTitle = htmlspecialchars($GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename']); + } else { + $rec = t3lib_BEfunc::getRecordWSOL('pages', $rParts[1]); + $pageIcon = t3lib_iconworks::getSpriteIconForRecord('pages', $rec); + $pageTitle = t3lib_BEfunc::getRecordTitle('pages', $rec, TRUE); + } + + $tblList .= 'Table "' . $tName . '" from ' . $pageIcon . $pageTitle . '
'; } } $row[] = '