]> git.mxchange.org Git - friendica.git/commitdiff
Fix notice
authorMichael <heluecht@pirati.ca>
Sat, 26 Sep 2020 18:59:31 +0000 (18:59 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 26 Sep 2020 18:59:31 +0000 (18:59 +0000)
src/Module/Conversation/Community.php

index 97cc44eaffb9e46b43cdd69dcc376cfa574046cf..1bb7f66e26d9d273816ce3da2a6f0ebb170b039f 100644 (file)
@@ -116,7 +116,7 @@ class Community extends BaseModule
                DI::page()['aside'] .= Renderer::replaceMacros(Renderer::getMarkupTemplate('widget/community_accounts.tpl'), [
                        '$title'        => DI::l10n()->t('Accounts'),
                        '$content'      => self::$content,
-                       '$accounttype'  => $parameters['accounttype'],
+                       '$accounttype'  => ($parameters['accounttype'] ?? ''),
                        '$all'          => DI::l10n()->t('All'),
                        '$person'       => DI::l10n()->t('Persons'),
                        '$organisation' => DI::l10n()->t('Organisations'),