mirror of
https://github.com/php/php-src.git
synced 2024-09-23 19:07:26 +00:00
Merge branch 'PHP-7.4'
* PHP-7.4: Check the correct list
This commit is contained in:
commit
7e87173497
@ -1124,7 +1124,7 @@ PHP_FUNCTION(dns_get_mx)
|
||||
}
|
||||
}
|
||||
php_dns_free_handle(handle);
|
||||
RETURN_BOOL(zend_hash_num_elements(Z_ARRVAL_P(weight_list)) != 0);
|
||||
RETURN_BOOL(zend_hash_num_elements(Z_ARRVAL_P(mx_list)) != 0);
|
||||
}
|
||||
/* }}} */
|
||||
#endif /* HAVE_FULL_DNS_FUNCS */
|
||||
|
Loading…
Reference in New Issue
Block a user