[BUGFIX] Remove wrong break; statement in rootline check 69/56369/2
authorGeorg Ringer <georg.ringer@gmail.com>
Mon, 19 Mar 2018 19:08:07 +0000 (20:08 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 9 Apr 2018 07:13:04 +0000 (09:13 +0200)
With issue #81280 a break statement has been added which breaks
the check of permissons "extend to subpage".

Resolves: #84293
Releases: master
Change-Id: I2a2735a95bd933c4890e1cf829b0d9e5650dd63c
Reviewed-on: https://review.typo3.org/56369
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php

index 4bbc47f..73e6f56 100644 (file)
@@ -1659,7 +1659,6 @@ class TypoScriptFrontendController implements LoggerAwareInterface
                 // Page is 'not found' in case a subsection was found and not accessible, code 2
                 $this->pageNotFound = 2;
                 unset($this->rootLine[$a]);
-                break;
             }
         }
         return $removeTheRestFlag;