Fix accounttype/nosharer url

This commit is contained in:
Michael 2024-03-16 16:44:25 +00:00
parent c81a47c764
commit 1ffdb19c8e
1 changed files with 4 additions and 4 deletions

View File

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