diff options
author | friendica <info@friendica.com> | 2013-06-16 22:56:56 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-06-16 22:56:56 -0700 |
commit | 82539ba2bc93a6a84ce01492d37a725291ba32d9 (patch) | |
tree | 00077b7a12507a11149f035688991a0d42727554 | |
parent | 28cd8594a7dcaf7d21b8b92c44ace34dc8aa6dd4 (diff) | |
download | volse-hubzilla-82539ba2bc93a6a84ce01492d37a725291ba32d9.tar.gz volse-hubzilla-82539ba2bc93a6a84ce01492d37a725291ba32d9.tar.bz2 volse-hubzilla-82539ba2bc93a6a84ce01492d37a725291ba32d9.zip |
override comment policy until it's working
-rw-r--r-- | include/ItemObject.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php index 351f446d4..e5185bef6 100644 --- a/include/ItemObject.php +++ b/include/ItemObject.php @@ -45,6 +45,10 @@ class Item extends BaseObject { if(($this->observer) && (! $this->writable)) { $this->commentable = can_comment_on_post($this->observer['xchan_hash'],$data); + if(! $this->commentable) { + logger('commentable: ' . $data['comment_policy']); + $this->commentable = true; + } } // logger('writable: ' . $this->writable); |