#36777Unnecessary warning in css_styled_content (division by zero)
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.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.