]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Contact.php
Replace profile tab GET parameter by route
[friendica.git] / src / Model / Contact.php
index d20872ed64376c8df855c6917430ba0890920057..201447437945e3aa075d1c60a95e120ee65fcb45 100644 (file)
@@ -1230,9 +1230,9 @@ class Contact
                }
 
                if ($sparkle) {
-                       $status_link = $profile_link . '?tab=status';
+                       $status_link = $profile_link . '/status';
                        $photos_link = str_replace('/profile/', '/photos/', $profile_link);
-                       $profile_link = $profile_link . '?tab=profile';
+                       $profile_link = $profile_link . '/profile';
                }
 
                if (self::canReceivePrivateMessages($contact) && empty($contact['pending'])) {