From 446e962bb85cf377d476734812318f6dc76bdfb2 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 12 Apr 2012 21:38:40 -0700 Subject: [PATCH] send link directly to profile tab --- mod/profiles.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod/profiles.php b/mod/profiles.php index 64a0142ec8..227fb07631 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -290,13 +290,13 @@ function profile_activity($changed) { $changes .= $ch; } - $prof = '[url=' . $self[0]['url'] . ']' . t('public profile') . '[/url]'; + $prof = '[url=' . $self[0]['url'] . '?tab=profile' . ']' . t('public profile') . '[/url]'; - $arr['body'] = sprintf( t('%1$s has an updated %2$s changing %3$s.'), $A, $prof, $changes); + $arr['body'] = sprintf( t('%1$s has an updated %2$s, changing %3$s.'), $A, $prof, $changes); $arr['object'] = '' . ACTIVITY_OBJ_PROFILE . '' . $self[0]['name'] . '' . '' . $self[0]['url'] . '/' . $self[0]['name'] . ''; - $arr['object'] .= '' . xmlify('' . "\n"); + $arr['object'] .= '' . xmlify('' . "\n"); $arr['object'] .= xmlify('' . "\n"); $arr['object'] .= '' . "\n"; $arr['last-child'] = 1; -- 2.39.5