From: Mikael Nordfeldth Date: Tue, 26 Apr 2016 00:41:56 +0000 (+0200) Subject: split is gone, use explode. PHP7 extlib fix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3e9b0d6018dc5ce7328cd2b8281dafaef930ce10;p=quix0rs-gnu-social.git split is gone, use explode. PHP7 extlib fix --- diff --git a/plugins/DomainStatusNetwork/extlib/regDomain.inc.php b/plugins/DomainStatusNetwork/extlib/regDomain.inc.php index 389f6c4295..076c7b8714 100644 --- a/plugins/DomainStatusNetwork/extlib/regDomain.inc.php +++ b/plugins/DomainStatusNetwork/extlib/regDomain.inc.php @@ -37,7 +37,7 @@ function getRegisteredDomain($signingDomain) { global $tldTree; - $signingDomainParts = split('\.', $signingDomain); + $signingDomainParts = explode('.', $signingDomain); $result = findRegisteredDomain($signingDomainParts, $tldTree); @@ -80,4 +80,4 @@ function findRegisteredDomain($remainingSigningDomainParts, &$treeNode) { return NULL; } -?> \ No newline at end of file +?>