aboutsummaryrefslogtreecommitdiffstats
path: root/include/enotify.php
diff options
context:
space:
mode:
authorMichael Vogel <icarus@dabo.de>2012-06-04 08:09:15 +0200
committerMichael Vogel <icarus@dabo.de>2012-06-04 08:09:15 +0200
commit0353410cd4b8153fd2b6e9d3524c6e46ad4acd68 (patch)
treee93cc7977a7367eb6281c733d9a34730dae3bf95 /include/enotify.php
parent5de91c2a7c924ac6067828a0e5bfbef5572c1f39 (diff)
parentca105f1c669950768a1f4cd6b93f471cabbc5114 (diff)
downloadvolse-hubzilla-0353410cd4b8153fd2b6e9d3524c6e46ad4acd68.tar.gz
volse-hubzilla-0353410cd4b8153fd2b6e9d3524c6e46ad4acd68.tar.bz2
volse-hubzilla-0353410cd4b8153fd2b6e9d3524c6e46ad4acd68.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'include/enotify.php')
-rw-r--r--include/enotify.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/enotify.php b/include/enotify.php
index f7ef74fac..fe0f128b6 100644
--- a/include/enotify.php
+++ b/include/enotify.php
@@ -20,6 +20,9 @@ function notification($params) {
$sender_name = $product;
$hostname = $a->get_hostname();
+ if(strpos($hostname,':'))
+ $hostname = substr($hostname,0,strpos($hostname,':'));
+
$sender_email = t('noreply') . '@' . $hostname;
$additional_mail_header = "";