Index: typo3/class.browse_links.php =================================================================== --- typo3/class.browse_links.php (revision 8447) +++ typo3/class.browse_links.php (working copy) @@ -1912,14 +1912,16 @@ $ATag=''; $ATag_e=''; $ATag2=''; - if (in_array('pages',$tablesArr)) { - $ficon=t3lib_iconWorks::getIcon('pages',$mainPageRec); - $ATag=""; - $ATag2=""; - $ATag_alt=substr($ATag,0,-4).",'',1);\">"; - $ATag_e=''; + if (is_array($mainPageRec)) { + if (in_array('pages',$tablesArr)) { + $ficon=t3lib_iconWorks::getIcon('pages',$mainPageRec); + $ATag=""; + $ATag2=""; + $ATag_alt=substr($ATag,0,-4).",'',1);\">"; + $ATag_e=''; + } + $picon=t3lib_iconWorks::getSpriteIconForRecord('pages', $mainPageRec); } - $picon=t3lib_iconWorks::getSpriteIconForRecord('pages', $mainPageRec); $pBicon=$ATag2?'':''; $pText=htmlspecialchars(t3lib_div::fixed_lgd_cs($mainPageRec['title'],$titleLen)); $out.=$picon.$ATag2.$pBicon.$ATag_e.$ATag.$pText.$ATag_e.'
';