1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 07:02:33 +02:00

Merge branch 'PHP-7.4'

* PHP-7.4:
  Check the correct list
This commit is contained in:
Nikita Popov
2020-08-10 21:53:26 +02:00

View File

@@ -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 */