aboutsummaryrefslogtreecommitdiffstats
path: root/mod/follow.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/follow.php')
-rw-r--r--mod/follow.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/follow.php b/mod/follow.php
index efcbdfd24..009fe4e9a 100644
--- a/mod/follow.php
+++ b/mod/follow.php
@@ -190,7 +190,7 @@ function follow_post(&$a) {
}
if($contact['network'] == NETWORK_DIASPORA) {
require_once('include/diaspora.php');
- $ret = diaspora_share($a->user,$r[0]);
+ $ret = diaspora_share($a->user,$contact);
logger('mod_follow: diaspora_share returns: ' . $ret);
}
}