https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
178e506
)
Merge pull request #9307 from annando/notice
author
Tobias Diekershoff
<tobias.diekershoff@gmx.net>
Mon, 28 Sep 2020 12:30:01 +0000
(14:30 +0200)
committer
GitHub
<noreply@github.com>
Mon, 28 Sep 2020 12:30:01 +0000
(14:30 +0200)
Fix notice "Undefined index: accounttype"
src/Module/Conversation/Community.php
patch
|
blob
|
history
diff --git
a/src/Module/Conversation/Community.php
b/src/Module/Conversation/Community.php
index
6d42921
..
88093c8
100644
(file)
--- a/
src/Module/Conversation/Community.php
+++ b/
src/Module/Conversation/Community.php
@@
-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'])) {