Commit:    25c9f34c9c48cfca70d3e9a154255ef75efd3454
Author:    Pierre Joye <pierre....@gmail.com>         Sat, 27 Apr 2013 17:52:30 
+0200
Parents:   2809afa1196bd73c3a5e5c119bd1d7db3cf45844
Branches:  PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=25c9f34c9c48cfca70d3e9a154255ef75efd3454

Log:
fix #64725, wrong res check

Bugs:
https://bugs.php.net/64725

Changed paths:
  M  ext/gd/gd.c


Diff:
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 60056d1..4e118d1 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);


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to