Skip to content

Commit 81e31ef

Browse files
committed
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Check the correct list
2 parents 5b8b480 + 4723bd4 commit 81e31ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/dns.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ PHP_FUNCTION(dns_get_mx)
11351135
}
11361136
}
11371137
php_dns_free_handle(handle);
1138-
RETURN_BOOL(zend_hash_num_elements(Z_ARRVAL_P(weight_list)) != 0);
1138+
RETURN_BOOL(zend_hash_num_elements(Z_ARRVAL_P(mx_list)) != 0);
11391139
}
11401140
/* }}} */
11411141
#endif /* HAVE_FULL_DNS_FUNCS */

0 commit comments

Comments
 (0)