From 2ef82cd34760565b6446a148770b3efbb49d3ad0 Mon Sep 17 00:00:00 2001 From: Friendika Date: Fri, 19 Aug 2011 05:24:07 -0700 Subject: [PATCH] redirect to added contact, not self --- mod/follow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/follow.php b/mod/follow.php index 0323e76819..efcbdfd244 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 }