Skip to content

Commit 7e87173

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Check the correct list
2 parents 59fbdf7 + 81e31ef commit 7e87173

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
@@ -1124,7 +1124,7 @@ PHP_FUNCTION(dns_get_mx)
11241124
}
11251125
}
11261126
php_dns_free_handle(handle);
1127-
RETURN_BOOL(zend_hash_num_elements(Z_ARRVAL_P(weight_list)) != 0);
1127+
RETURN_BOOL(zend_hash_num_elements(Z_ARRVAL_P(mx_list)) != 0);
11281128
}
11291129
/* }}} */
11301130
#endif /* HAVE_FULL_DNS_FUNCS */

0 commit comments

Comments
 (0)