mirror of
https://github.com/friendica/friendica
synced 2025-04-19 05:50:10 +00:00
Replace profile tab GET parameter by route
This commit is contained in:
parent
74a25eb670
commit
a607656607
9 changed files with 10 additions and 30 deletions
|
@ -270,7 +270,7 @@ class Contact extends BaseModule
|
|||
if (($a->argc == 3) && intval($a->argv[1]) && in_array($a->argv[2], ['posts', 'conversations'])) {
|
||||
DI::baseUrl()->redirect('profile/' . $contact['nick']);
|
||||
} else {
|
||||
DI::baseUrl()->redirect('profile/' . $contact['nick'] . '?tab=profile');
|
||||
DI::baseUrl()->redirect('profile/' . $contact['nick'] . '/profile');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue