]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_confirm.php
change links from /contacts to /contact
[friendica.git] / mod / dfrn_confirm.php
index 969e2286c864076a8b5770300612c6f7f3dd6857..48ce3c6aa65684bfe6b47e7ba1794e8709327fb6 100644 (file)
@@ -400,7 +400,7 @@ function dfrn_confirm_post(App $a, $handsfree = null)
                // Let's send our user to the contact editor in case they want to
                // do anything special with this new friend.
                if ($handsfree === null) {
-                       goaway(System::baseUrl() . '/contacts/' . intval($contact_id));
+                       goaway(System::baseUrl() . '/contact/' . intval($contact_id));
                } else {
                        return;
                }
@@ -604,7 +604,7 @@ function dfrn_confirm_post(App $a, $handsfree = null)
                                        'to_name'      => $combined['username'],
                                        'to_email'     => $combined['email'],
                                        'uid'          => $combined['uid'],
-                                       'link'         => System::baseUrl() . '/contacts/' . $dfrn_record,
+                                       'link'         => System::baseUrl() . '/contact/' . $dfrn_record,
                                        'source_name'  => ((strlen(stripslashes($combined['name']))) ? stripslashes($combined['name']) : L10n::t('[Name Withheld]')),
                                        'source_link'  => $combined['url'],
                                        'source_photo' => $combined['photo'],