Merge pull request #672 from cpfeiffer/email-notification-sitename-fix

fix reading sitename config
This commit is contained in:
friendica 2013-04-29 22:41:32 -07:00
commit cc8a4fbf16

View File

@ -17,7 +17,7 @@ function notification($params) {
$product = FRIENDICA_PLATFORM; $product = FRIENDICA_PLATFORM;
$siteurl = $a->get_baseurl(true); $siteurl = $a->get_baseurl(true);
$thanks = t('Thank You,'); $thanks = t('Thank You,');
$sitename = get_config('config','sitename'); $sitename = $a->config['sitename'];
$site_admin = sprintf( t('%s Administrator'), $sitename); $site_admin = sprintf( t('%s Administrator'), $sitename);
$sender_name = $product; $sender_name = $product;