Project

General

Profile

Bug #15068 ยป bug_1625.diff

Administrator Admin, 2005-10-22 18:25

View differences:

typo3_src-3.8.0/t3lib/class.t3lib_iconworks.php 2005-10-22 18:14:42.000000000 +0200
// First, find the icon file name. This can depend on configuration in TCA, field values and more:
if ($table=='pages') {
if ($row['nav_hide'] && ($row['doktype']==1||$row['doktype']==2)) $row['doktype']=5; // Workaround to change the icon if "Hide in menu" was set
if (!$iconfile = $PAGES_TYPES[$row['doktype']]['icon']) {
$iconfile = $PAGES_TYPES['default']['icon'];
}
    (1-1/1)