Skip to content

Commit

Permalink
[BUGFIX] Remove wrong break; statement in rootline check
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
georgringer authored and bmack committed Apr 9, 2018
1 parent 967c889 commit 772e0e7
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -1659,7 +1659,6 @@ public function checkRootlineForIncludeSection(): bool
// 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;
Expand Down

0 comments on commit 772e0e7

Please sign in to comment.