theme infos are now bundled in a single array

This commit is contained in:
Michael 2021-07-25 19:07:03 +00:00
parent 0551648399
commit c52b8595e8
9 changed files with 22 additions and 21 deletions

View file

@ -81,7 +81,7 @@ class BaseProfile extends BaseModule
];
// the calendar link for the full featured events calendar
if ($is_owner && $a->theme_events_in_profile) {
if ($is_owner && $a->theme_info['events_in_profile']) {
$tabs[] = [
'label' => DI::l10n()->t('Events'),
'url' => DI::baseUrl() . '/events',