mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:00:21 +00:00
Fix notice "Undefined index: accounttype"
This commit is contained in:
parent
178e506917
commit
52e150551e
1 changed files with 4 additions and 1 deletions
|
@ -99,7 +99,10 @@ class Community extends BaseModule
|
|||
]);
|
||||
|
||||
if (local_user() && DI::config()->get('system', 'community_no_sharer')) {
|
||||
$path = self::$content . ($parameters['accounttype'] ? '/' . $parameters['accounttype'] : '');
|
||||
$path = self::$content;
|
||||
if (!empty($parameters['accounttype'])) {
|
||||
$path .= '/' . $parameters['accounttype'];
|
||||
}
|
||||
$query_parameters = [];
|
||||
|
||||
if (!empty($_GET['since_id'])) {
|
||||
|
|
Loading…
Reference in a new issue