[BUGFIX] Fix fatal error in PageLayoutController 77/44077/5
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 15 Oct 2015 10:44:15 +0000 (12:44 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 15 Oct 2015 20:33:59 +0000 (22:33 +0200)
commit59b4696120793f6118b6e8e503ede325f60b6cdb
tree036358575bd4ffc2e2b7f6b597210e53adbe30aa
parentaddcd23d2d4c384a5d86e2ab576bab5803fe2148
[BUGFIX] Fix fatal error in PageLayoutController

Move the module template initialization where it is clear
that the BE user really has access to the page.

Additionally clean up other mistakes in the code.

Change-Id: I9977c966ef1f9b892b53d73c784d27ca1c5fc006
Resolves: #70758
Releases: master
Reviewed-on: http://review.typo3.org/44077
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Marcus Schwemer <ms@schwemer.de>
Tested-by: Marcus Schwemer <ms@schwemer.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/backend/Classes/Controller/PageLayoutController.php