[CLEANUP] Replace count with empty in EXT:core
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / FrontendEditing / FrontendEditingController.php
index 958fe36..6a926ca 100644 (file)
@@ -512,7 +512,7 @@ class FrontendEditingController {
                        $perms = $GLOBALS['BE_USER']->calcPerms($GLOBALS['TSFE']->page);
                        if ($table == 'pages') {
                                // Rootpage
-                               if (count($GLOBALS['TSFE']->config['rootLine']) == 1) {
+                               if (count($GLOBALS['TSFE']->config['rootLine']) === 1) {
                                        unset($allow['move']);
                                        unset($allow['hide']);
                                        unset($allow['delete']);