diff --git a/typo3/sysext/backend/Classes/Tree/Pagetree/Commands.php b/typo3/sysext/backend/Classes/Tree/Pagetree/Commands.php index cb1eb8ea3ca102882dfbd1187badfa805482dfaa..18515040d871bacaa55dc3e811140375fcb163e3 100644 --- a/typo3/sysext/backend/Classes/Tree/Pagetree/Commands.php +++ b/typo3/sysext/backend/Classes/Tree/Pagetree/Commands.php @@ -345,7 +345,7 @@ class Commands { $subNode->setEditableText($text); $subNode->setText(htmlspecialchars($visibleText), $field, $prefix, htmlspecialchars($suffix) . $stat); $subNode->setQTip($qtip); - if ($record['uid'] !== 0) { + if ((int)$record['uid'] !== 0) { $spriteIconCode = IconUtility::getSpriteIconForRecord('pages', $record); } else { $spriteIconCode = IconUtility::getSpriteIcon('apps-pagetree-root');