Remove direct calls to App->user
This commit is contained in:
parent
266ee26240
commit
fc283ab928
51 changed files with 238 additions and 166 deletions
|
|
@ -280,7 +280,7 @@ function events_content(App $a)
|
|||
$tabs = '';
|
||||
// tabs
|
||||
if ($a->getThemeInfoValue('events_in_profile')) {
|
||||
$tabs = BaseProfile::getTabsHTML($a, 'events', true, $a->user);
|
||||
$tabs = BaseProfile::getTabsHTML($a, 'events', true, $a->getNickname(), false);
|
||||
}
|
||||
|
||||
$mode = 'view';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue