Changed the "From" field for system emails from product to sitename.
This commit is contained in:
parent
bb2413ddaf
commit
61a227dbaa
|
@ -23,7 +23,7 @@ function notification($params) {
|
||||||
$site_admin = sprintf( t('%s Administrator'), $sitename);
|
$site_admin = sprintf( t('%s Administrator'), $sitename);
|
||||||
$nickname = "";
|
$nickname = "";
|
||||||
|
|
||||||
$sender_name = $product;
|
$sender_name = $sitename;
|
||||||
$hostname = $a->get_hostname();
|
$hostname = $a->get_hostname();
|
||||||
if(strpos($hostname,':'))
|
if(strpos($hostname,':'))
|
||||||
$hostname = substr($hostname,0,strpos($hostname,':'));
|
$hostname = substr($hostname,0,strpos($hostname,':'));
|
||||||
|
|
Loading…
Reference in a new issue