Replace profile tab GET parameter by route

This commit is contained in:
Hypolite Petovan 2020-01-27 19:21:18 -05:00
commit a607656607
9 changed files with 10 additions and 30 deletions

View file

@ -919,9 +919,9 @@ function item_photo_menu($item) {
}
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 . '?=profile';
$profile_link = $profile_link . '/profile';
}
if (!empty($pcid)) {