Fix notice "Undefined index: accounttype"

pull/9307/head
Michael 2020-09-28 11:27:48 +00:00
rodzic 178e506917
commit 52e150551e
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -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'])) {