]> git.mxchange.org Git - friendica.git/blobdiff - mod/suggest.php
suggestion notifications
[friendica.git] / mod / suggest.php
index bbffe8fb0f62cbb8ea3ca9af0c7c3f9b0bd7a211..b8ca423c5ae2a0a0a5acbad99351bfce946e6689 100644 (file)
@@ -29,6 +29,8 @@ function suggest_content(&$a) {
                return;
        }
 
+       $_SESSION['return_url'] = $a->get_baseurl() . '/' . $a->cmd;
+
        $a->page['aside'] .= follow_widget();
        $a->page['aside'] .= findpeople_widget();
 
@@ -47,7 +49,7 @@ function suggest_content(&$a) {
 
        foreach($r as $rr) {
 
-               $connlink = $a->get_baseurl() . '/follow/?url=' . (($rr['connect']) ? $rr['connect'] : $rr['url']);                     
+               $connlnk = $a->get_baseurl() . '/follow/?url=' . (($rr['connect']) ? $rr['connect'] : $rr['url']);                      
 
                $o .= replace_macros($tpl,array(
                        '$url' => $rr['url'],