fix reading sitename config

This commit is contained in:
Carsten Pfeiffer 2013-04-27 21:40:40 +02:00
parent f84c57e7f2
commit 7f6a7af2b3

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;