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

@ -217,7 +217,7 @@ function videos_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, 'videos', $_is_owner, $a->data['user']['nickname']);
//
// dispatch request