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
|
@ -950,7 +950,7 @@ function photos_content(App $a)
|
|||
|
||||
// tabs
|
||||
$is_owner = (local_user() && (local_user() == $owner_uid));
|
||||
$o .= Profile::getTabs($a, $is_owner, $a->data['user']['nickname']);
|
||||
$o .= Profile::getTabs($a, 'photos', $is_owner, $a->data['user']['nickname']);
|
||||
|
||||
// Display upload form
|
||||
if ($datatype === 'upload') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue