]> git.mxchange.org Git - friendica.git/commitdiff
call get_app()
authorFriendika <info@friendika.com>
Sun, 9 Jan 2011 21:18:56 +0000 (13:18 -0800)
committerFriendika <info@friendika.com>
Sun, 9 Jan 2011 21:18:56 +0000 (13:18 -0800)
include/items.php

index 3901dc2ae309fdc90dfc659e6ec9213253d9fc8f..d267abe075553b76ef3df001b29105e9706cf785 100644 (file)
@@ -1176,6 +1176,7 @@ function new_follower($importer,$contact,$datarray,$item) {
                $r = q("SELECT * FROM `user` WHERE `uid` = %d LIMIT 1",
                        intval($importer['uid'])
                );
+               $a = get_app();
                if(count($r)) {
                        if(($r[0]['notify-flags'] & NOTIFY_INTRO) && ($r[0]['page-flags'] == PAGE_NORMAL)) {
                                $email_tpl = load_view_file('view/follow_notify_eml.tpl');