bug #439 - remove web port number from notification email "from" address
This commit is contained in:
parent
4978ee12d1
commit
3d39e6e594
|
@ -20,6 +20,9 @@ function notification($params) {
|
||||||
|
|
||||||
$sender_name = $product;
|
$sender_name = $product;
|
||||||
$hostname = $a->get_hostname();
|
$hostname = $a->get_hostname();
|
||||||
|
if(strpos($hostname,':'))
|
||||||
|
$hostname = substr($hostname,0,strpos($hostname,':'));
|
||||||
|
|
||||||
$sender_email = t('noreply') . '@' . $hostname;
|
$sender_email = t('noreply') . '@' . $hostname;
|
||||||
$additional_mail_header = "";
|
$additional_mail_header = "";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue