aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-03 13:26:43 -0800
committerFriendika <info@friendika.com>2011-01-03 13:26:43 -0800
commita51a1007a38e763adcae5ea3865745b2ae80f921 (patch)
treec5aabc2df13b21deaa4715c09ffeae4433a2a5d1 /boot.php
parent36b241c02b7640a72fd3432b511e635e4146e2e6 (diff)
downloadvolse-hubzilla-a51a1007a38e763adcae5ea3865745b2ae80f921.tar.gz
volse-hubzilla-a51a1007a38e763adcae5ea3865745b2ae80f921.tar.bz2
volse-hubzilla-a51a1007a38e763adcae5ea3865745b2ae80f921.zip
email check failed, translate wall_item template
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 6fe5ee99d..cbbe55edc 100644
--- a/boot.php
+++ b/boot.php
@@ -1497,7 +1497,7 @@ function validate_email($addr) {
return false;
$h = substr($addr,strpos($addr,'@') + 1);
- if(($h) && (dns_get_record($h['host'], DNS_A + DNS_CNAME + DNS_PTR + DNS_MX))) {
+ if(($h) && (dns_get_record($h, DNS_A + DNS_CNAME + DNS_PTR + DNS_MX))) {
return true;
}
return false;