]> git.mxchange.org Git - friendica.git/commitdiff
Use the public contact
authorMichael <heluecht@pirati.ca>
Mon, 3 Aug 2020 19:47:46 +0000 (19:47 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 3 Aug 2020 19:47:46 +0000 (19:47 +0000)
src/Module/Contact.php

index b8c8827b2428db8b3e94da2d87d658454da45f1f..7ddd5c9f4d16cecedb7e327d8d7753d618aa0f4e 100644 (file)
@@ -876,7 +876,7 @@ class Contact extends BaseModule
                $tabs = [
                        [
                                'label' => DI::l10n()->t('Status'),
-                               'url'   => "contact/" . $cid . "/conversations",
+                               'url'   => "contact/" . $pcid . "/conversations",
                                'sel'   => (($active_tab == 1) ? 'active' : ''),
                                'title' => DI::l10n()->t('Conversations started by this contact'),
                                'id'    => 'status-tab',
@@ -884,7 +884,7 @@ class Contact extends BaseModule
                        ],
                        [
                                'label' => DI::l10n()->t('Posts and Comments'),
-                               'url'   => "contact/" . $cid . "/posts",
+                               'url'   => "contact/" . $pcid . "/posts",
                                'sel'   => (($active_tab == 2) ? 'active' : ''),
                                'title' => DI::l10n()->t('Status Messages and Posts'),
                                'id'    => 'posts-tab',