From 85b0eca9c1f74a8fc864cb29ab0ae1fc265dbed5 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 9 Jan 2011 13:18:56 -0800 Subject: [PATCH] call get_app() --- include/items.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/items.php b/include/items.php index 3901dc2ae3..d267abe075 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');