namespacing the array_map function

This commit is contained in:
Metaclassing 2017-03-07 15:22:44 -06:00
parent ab8028c93c
commit 42a7ff61ff

View File

@ -3464,7 +3464,7 @@ class X509
$altName = array();
if (isset($subject->domains) && count($subject->domains) > 1) {
$altName = array_map(array('X509', '_dnsName'), $subject->domains);
$altName = array_map(array('\phpseclib\File\X509', '_dnsName'), $subject->domains);
}
if (isset($subject->ipAddresses) && count($subject->ipAddresses)) {