Remove unused first parameter from BaseProfile::getTabsHTML
- Add expected Profile::load call to Profile\Photos module
This commit is contained in:
parent
b83526ad0b
commit
ae76fa1174
10 changed files with 12 additions and 15 deletions
|
@ -875,7 +875,7 @@ function photos_content(App $a)
|
|||
|
||||
// tabs
|
||||
$is_owner = (DI::userSession()->getLocalUserId() && (DI::userSession()->getLocalUserId() == $owner_uid));
|
||||
$o .= BaseProfile::getTabsHTML($a, 'photos', $is_owner, $user['nickname'], $profile['hide-friends']);
|
||||
$o .= BaseProfile::getTabsHTML('photos', $is_owner, $user['nickname'], $profile['hide-friends']);
|
||||
|
||||
// Display upload form
|
||||
if ($datatype === 'upload') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue