Add current tab parameter to Model\Profile::getTabs

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

View file

@ -246,7 +246,7 @@ function events_content(App $a)
$tabs = '';
// tabs
if ($a->theme_events_in_profile) {
$tabs = Profile::getTabs($a, true);
$tabs = Profile::getTabs($a, 'events', true);
}
$mode = 'view';