]> granicus.if.org Git - php/commit
Fixed Bug #65171 imagescale() fails
authorRemi Collet <remi@php.net>
Wed, 15 Oct 2014 17:13:25 +0000 (19:13 +0200)
committerRemi Collet <remi@php.net>
Wed, 15 Oct 2014 17:13:25 +0000 (19:13 +0200)
commit2728e6f01798b1146b41587d38bf84cdf9988d17
tree2dfd393c544ef6ee1a067ab1e1eeba219bda9bad
parent6d9c9f8f0468f8d90dc233d6fc70dc949349e6da
Fixed Bug #65171 imagescale() fails

Third param (height) is set as optional,
but default value = -1 is incorrect

Compute correct height to preserve ratio.
ext/gd/gd.c