]> git.mxchange.org Git - friendica.git/commitdiff
fix reading sitename config
authorCarsten Pfeiffer <carsten.pfeiffer@gebit.de>
Sat, 27 Apr 2013 19:40:40 +0000 (21:40 +0200)
committerCarsten Pfeiffer <carsten.pfeiffer@gebit.de>
Sat, 27 Apr 2013 19:40:40 +0000 (21:40 +0200)
include/enotify.php

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