Add current tab parameter to Model\Profile::getTabs

This commit is contained in:
Hypolite Petovan 2019-05-20 15:09:33 -04:00
commit c65faecc8c
8 changed files with 30 additions and 30 deletions

View file

@ -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') {