aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadStream.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-20 18:34:17 -0700
committerzotlabs <mike@macgirvin.com>2017-06-20 18:34:17 -0700
commit08c0729f5ff8ac97c27db08ae2dde1a052c71e25 (patch)
tree9ce2ee515601a79156e89e5158fc3b8047f6e90a /Zotlabs/Lib/ThreadStream.php
parent234c64574b4ee5ca22b85ae2fecc301286423068 (diff)
parent76e98091690cf5f2726bf7cefea217d49b23a5b4 (diff)
downloadvolse-hubzilla-08c0729f5ff8ac97c27db08ae2dde1a052c71e25.tar.gz
volse-hubzilla-08c0729f5ff8ac97c27db08ae2dde1a052c71e25.tar.bz2
volse-hubzilla-08c0729f5ff8ac97c27db08ae2dde1a052c71e25.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs/Lib/ThreadStream.php')
-rw-r--r--Zotlabs/Lib/ThreadStream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadStream.php b/Zotlabs/Lib/ThreadStream.php
index beb626f31..1fd746c38 100644
--- a/Zotlabs/Lib/ThreadStream.php
+++ b/Zotlabs/Lib/ThreadStream.php
@@ -158,7 +158,7 @@ class ThreadStream {
if(intval($item->get_data_value('item_nocomment'))) {
$item->set_commentable(false);
}
- elseif(($this->observer) && (! $item->is_commentable())) {
+ elseif(! $item->is_commentable()) {
if((array_key_exists('owner',$item->data)) && intval($item->data['owner']['abook_self']))
$item->set_commentable(perm_is_allowed($this->profile_owner,$ob_hash,'post_comments'));
else