]> git.mxchange.org Git - friendica.git/commitdiff
Fix accounttype/nosharer url
authorMichael <heluecht@pirati.ca>
Sat, 16 Mar 2024 16:44:25 +0000 (16:44 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 16 Mar 2024 16:44:25 +0000 (16:44 +0000)
src/Module/Conversation/Timeline.php

index d77e78fc5b2a8a5bee654474748df47189750b7b..88d2f83711bc355d075fb23ce078963bf41fc450 100644 (file)
@@ -178,11 +178,11 @@ class Timeline extends BaseModule
        protected function getNoSharerWidget(string $base): string
        {
                $path = $this->selectedTab;
+
+               $query_parameters = [];
                if (!empty($this->accountTypeString)) {
-                       $path .= '/' . $this->accountTypeString;
+                       $query_parameters['accounttype'] = $this->accountTypeString;
                }
-               $query_parameters = [];
-
                if (!empty($this->minId)) {
                        $query_parameters['min_id'] = $this->minId;
                }