From: Pierre Joye Date: Sat, 27 Apr 2013 15:52:30 +0000 (+0200) Subject: fix #64725, wrong res check X-Git-Tag: php-5.5.0RC1~32^2~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=25c9f34c9c48cfca70d3e9a154255ef75efd3454;p=php fix #64725, wrong res check --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 60056d1d54..4e118d16b4 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -5576,7 +5576,7 @@ PHP_FUNCTION(imageaffinematrixget) RETURN_FALSE; } - if (res = GD_FALSE) { + if (res == GD_FALSE) { RETURN_FALSE; } else { array_init(return_value);