mirror of
https://github.com/friendica/friendica
synced 2024-11-09 17:02:54 +00:00
Merge pull request #14006 from annando/accounttype
Fix accounttype/nosharer url
This commit is contained in:
commit
7331e44a1c
1 changed files with 4 additions and 4 deletions
|
@ -178,11 +178,11 @@ class Timeline extends BaseModule
|
||||||
protected function getNoSharerWidget(string $base): string
|
protected function getNoSharerWidget(string $base): string
|
||||||
{
|
{
|
||||||
$path = $this->selectedTab;
|
$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)) {
|
if (!empty($this->minId)) {
|
||||||
$query_parameters['min_id'] = $this->minId;
|
$query_parameters['min_id'] = $this->minId;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue