Skip to content

Commit 25c9f34

Browse files
committed
fix #64725, wrong res check
1 parent 2809afa commit 25c9f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/gd/gd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5576,7 +5576,7 @@ PHP_FUNCTION(imageaffinematrixget)
55765576
RETURN_FALSE;
55775577
}
55785578

5579-
if (res = GD_FALSE) {
5579+
if (res == GD_FALSE) {
55805580
RETURN_FALSE;
55815581
} else {
55825582
array_init(return_value);

0 commit comments

Comments
 (0)