Changed the "From" field for system emails from product to sitename.

This commit is contained in:
Silke Meyer 2015-01-31 18:44:30 +01:00
parent bb2413ddaf
commit 61a227dbaa

View file

@ -23,7 +23,7 @@ function notification($params) {
$site_admin = sprintf( t('%s Administrator'), $sitename);
$nickname = "";
$sender_name = $product;
$sender_name = $sitename;
$hostname = $a->get_hostname();
if(strpos($hostname,':'))
$hostname = substr($hostname,0,strpos($hostname,':'));