Bug #66028
closed
Use early return in cObj::getImgResource
Added by Oliver Hader over 9 years ago.
Updated about 6 years ago.
Description
If ContentObjectRenderer::getImgResource is called without any data, there is no need to execute all possibilities and lookup files with an empty identifier. For instance TextMenuContentObject::getBeforeAfter triggers this at lot.
- 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/38162
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/38162
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38223
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF