aboutsummaryrefslogtreecommitdiffstats
path: root/mod/follow.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/follow.php')
-rw-r--r--mod/follow.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/follow.php b/mod/follow.php
index 9186b90ef..5e48174c9 100644
--- a/mod/follow.php
+++ b/mod/follow.php
@@ -12,7 +12,7 @@ function follow_init(&$a) {
}
$uid = local_user();
- $url = $orig_url = notags(trim($_REQUEST['url']));
+ $url = notags(trim($_REQUEST['url']));
$return_url = $_SESSION['return_url'];
@@ -24,6 +24,8 @@ function follow_init(&$a) {
goaway($return_url);
}
+ info( t('Contact added') . EOL);
+
if(strstr($return_url,'contacts'))
goaway($a->get_baseurl() . '/contacts/' . $contact_id);