Bug #36777
closedUnnecessary warning in css_styled_content (division by zero)
100%
Description
PHP throws an unnecessary warning for the image scaling if some circumstances come together.
If you set the configuration
tt_content.image.20.maxW >
you will get a divison by zero warning. This happens because $netW becomes zero and after that $scale will have no value at all.
See the attached patch for details. Will push this to gerrit soon.
Files
Updated by Gerrit Code Review over 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10928
Updated by Thomas Layh over 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a7ac0c0f7d2bbd2130d69bba561a02d56061e486.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/12076
Updated by Gerrit Code Review over 12 years ago
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/12077
Updated by Thomas Layh over 12 years ago
- Status changed from Under Review to Resolved
Applied in changeset 4526c0d1338995a8ae3125339ace856eb22dd335.
Updated by Rafal Brzeski over 12 years ago
What about TYPO3 4.5 ? The same thing are there.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/12865
Updated by Ernesto Baschny over 12 years ago
- Category changed from Code Cleanup to Content Rendering
- Status changed from Under Review to Resolved
- Target version changed from 6.0.0 to 4.5.18
- TYPO3 Version changed from 6.0 to 4.5
- PHP Version deleted (
5.3)
Updated by Gerrit Code Review over 12 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/13154
Updated by Gerrit Code Review over 12 years ago
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/13269
Updated by Wouter Wolters about 12 years ago
Please close this issue. All affected branches are up to date.
Updated by Stefan Galinski about 12 years ago
- Status changed from Under Review to Closed