]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/BaseProfile.php
Merge pull request #12304 from HankG/add-dismissed-field-to-mastodon-notifications
[friendica.git] / src / Module / BaseProfile.php
index 16ba224c9cb008f4648a03c6c2a323c7966da700..56577ef33ac4e03d6b418dc2c2cbfa25dd908a82 100644 (file)
@@ -62,7 +62,7 @@ class BaseProfile extends BaseModule
                        ],
                        [
                                'label' => DI::l10n()->t('Photos'),
-                               'url'   => DI::baseUrl() . '/photos/' . $nickname,
+                               'url'   => $baseProfileUrl . '/photos',
                                'sel'   => $current == 'photos' ? 'active' : '',
                                'title' => DI::l10n()->t('Photo Albums'),
                                'id'    => 'photo-tab',
@@ -78,7 +78,7 @@ class BaseProfile extends BaseModule
                        ],
                ];
 
-               // the calendar link for the full featured events calendar
+               // the calendar link for the full-featured events calendar
                if ($is_owner && $a->getThemeInfoValue('events_in_profile')) {
                        $tabs[] = [
                                'label' => DI::l10n()->t('Calendar'),