[BUGFIX] Use correct variable when throwing exception in PageRepository 22/53122/3
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:45:39 +0000 (18:45 +0200)
commit059a9583e13c007dc18f3af531e98e64bfdea237
tree3747475d17f962c1cda612b22b829501b9e5e460
parent078107e45597d94156cf313cc5b8f6c8e8cc8efc
[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/53122
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/frontend/Classes/Page/PageRepository.php