mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:10:11 +00:00
Add current tab parameter to Model\Profile::getTabs
This commit is contained in:
parent
709eba6ce3
commit
c65faecc8c
8 changed files with 30 additions and 30 deletions
|
@ -147,7 +147,7 @@ function cal_content(App $a)
|
|||
$sql_extra = " AND `event`.`cid` = 0 " . $sql_perms;
|
||||
|
||||
// get the tab navigation bar
|
||||
$tabs = Profile::getTabs($a, false, $a->data['user']['nickname']);
|
||||
$tabs = Profile::getTabs($a, 'cal', false, $a->data['user']['nickname']);
|
||||
|
||||
// The view mode part is similiar to /mod/events.php
|
||||
if ($mode == 'view') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue