[BUGFIX] Load page info when only getting external tables 55/50955/3
authorJohannes Schlier <johannes.schlier@b13.de>
Wed, 14 Dec 2016 12:46:45 +0000 (13:46 +0100)
committerBenni Mack <benni@typo3.org>
Thu, 15 Dec 2016 12:00:40 +0000 (13:00 +0100)
commitadf5e579f5407008d247623b979b2f3472cc4078
treecdbf475da478203011319598a01cbff71c0dd1c3
parent1d0f1c2c35bef195bb4ee7a16db1fad719ad6dc2
[BUGFIX] Load page info when only getting external tables

Previously the PageLayoutView would only set the page info when getting
the tt_content of the page in function ‘getTable_tt_content’.
If a user only has rights to view/edit records from other tables, but
not tt_content, the page info is null, as ‘getTable_tt_content’ is never
called.

Resolves: #78991
Releases: master, 7.6
Change-Id: Iabcad89a23b245e8c6a8e23fa420fcab5c1ea8e4
Reviewed-on: https://review.typo3.org/50955
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Daniel Gorges <daniel.gorges@b13.de>
Tested-by: Daniel Gorges <daniel.gorges@b13.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/View/PageLayoutView.php