]> git.mxchange.org Git - friendica.git/blobdiff - mod/follow.php
Frost-mobile: media query in css for tablets
[friendica.git] / mod / follow.php
index 9186b90eff1a3c75958e231c9bb5f09484aa0366..5e48174c937c04c21745eee403162e43724b09e7 100644 (file)
@@ -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);