aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@diekershoff.homeunix.net>2011-01-10 08:17:01 +0100
committerroot <root@diekershoff.homeunix.net>2011-01-10 08:17:01 +0100
commitb500f7ffac6214dd07ec315a52ec06455cce435f (patch)
tree9da86ad659168f45082c3113da3748e526703bc2
parentd6b8e8c6a98fb05c9f38f2c323502eb452c031ff (diff)
parent85b0eca9c1f74a8fc864cb29ab0ae1fc265dbed5 (diff)
downloadvolse-hubzilla-b500f7ffac6214dd07ec315a52ec06455cce435f.tar.gz
volse-hubzilla-b500f7ffac6214dd07ec315a52ec06455cce435f.tar.bz2
volse-hubzilla-b500f7ffac6214dd07ec315a52ec06455cce435f.zip
Merge branch 'master' of git://github.com/friendika/friendika
-rw-r--r--include/items.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 3901dc2ae..d267abe07 100644
--- a/include/items.php
+++ b/include/items.php
@@ -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');