aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/follow.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/follow.php b/mod/follow.php
index 0323e7681..efcbdfd24 100644
--- a/mod/follow.php
+++ b/mod/follow.php
@@ -195,7 +195,7 @@ function follow_post(&$a) {
}
}
- goaway($a->get_baseurl() . '/contacts/' . $r[0]['id']);
+ goaway($a->get_baseurl() . '/contacts/' . $contact_id);
// goaway($_SESSION['return_url']);
// NOTREACHED
}