aboutsummaryrefslogtreecommitdiffstats
path: root/mod/follow.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-19 05:24:07 -0700
committerFriendika <info@friendika.com>2011-08-19 05:24:07 -0700
commit2ef82cd34760565b6446a148770b3efbb49d3ad0 (patch)
tree7fc9554973515c47d6492f730239f563180def78 /mod/follow.php
parent9a52b152719e0e3e224fa19379f7f5e78dd986ce (diff)
downloadvolse-hubzilla-2ef82cd34760565b6446a148770b3efbb49d3ad0.tar.gz
volse-hubzilla-2ef82cd34760565b6446a148770b3efbb49d3ad0.tar.bz2
volse-hubzilla-2ef82cd34760565b6446a148770b3efbb49d3ad0.zip
redirect to added contact, not self
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 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
}