[BUGFIX] Use correct variable when throwing exception in PageRepository 26/53126/2
authorWouter Wolters <typo3@wouterwolters.nl>
Mon, 5 Jun 2017 14:08:55 +0000 (16:08 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Mon, 5 Jun 2017 16:46:51 +0000 (18:46 +0200)
commit7d9235869ee390ec102dce05592feb8e3a0c6e93
tree8f9f7962ce1fc45987806cee137e865c8663314a
parentacabe032d25ef6221cf1c784ead3a442886f100e
[BUGFIX] Use correct variable when throwing exception in PageRepository

The wrong variable is used in a hook exception. Use the correct variable
to prevent fatal errors.

Resolves: #81472
Releases: master,8.7
Change-Id: I8cf84c2ac84c09bbeecc2111eb6128fdc71be3c7
Reviewed-on: https://review.typo3.org/53126
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/frontend/Classes/Page/PageRepository.php