From: Friendika Date: Fri, 19 Aug 2011 12:24:07 +0000 (-0700) Subject: redirect to added contact, not self X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2ef82cd34760565b6446a148770b3efbb49d3ad0;p=friendica.git redirect to added contact, not self --- 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 }