From 6808d53d0f8044a395a4e0099689d282285a0ac0 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 22 Dec 2010 14:16:22 -0800 Subject: plugin/addon API landing - still things left to do before it's useful --- mod/follow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/follow.php') diff --git a/mod/follow.php b/mod/follow.php index d5651ea39..5f0f3f7e3 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -182,7 +182,7 @@ function follow_post(&$a) { ); - if((x($contact,'notify')) && (strlen($contact['notify']))) { + if((count($r)) && (x($contact,'notify')) && (strlen($contact['notify']))) { require_once('include/salmon.php'); slapper($r[0],$contact['notify'],$slap); } -- cgit v1.2.3