Feature #52693
closed
Unused $requestedId local variable
Added by GAYA La Nouvelle Agence almost 11 years ago.
Updated almost 7 years ago.
Description
There's a local variable $requestedId in typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:1345 which store the original requested id before changing it. This variable is not used at all but can be usefull for a hook or class override.
Because this variable is unused and inacessible, could you set it as (protected) property ? I join the patch.
Files
Here's the patch for typo3 6.1.5
I've forgot to add the public method for getting it. Here's the new patch.
- Target version changed from 6.2.0 to 7.2 (Frontend)
- Tracker changed from Bug to Feature
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36828
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36828
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF