aboutsummaryrefslogtreecommitdiffstats
path: root/include/ItemObject.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-10 20:43:04 -0800
committerfriendica <info@friendica.com>2015-02-10 20:43:04 -0800
commit583af02f71f17039202a2e4009a3ab8586774663 (patch)
tree24f022a80c9d5e1d63c5a5314c021cf87c07e21a /include/ItemObject.php
parent149a588b11dae7b21f24e728be45fa04224bacd3 (diff)
downloadvolse-hubzilla-583af02f71f17039202a2e4009a3ab8586774663.tar.gz
volse-hubzilla-583af02f71f17039202a2e4009a3ab8586774663.tar.bz2
volse-hubzilla-583af02f71f17039202a2e4009a3ab8586774663.zip
fix permissions
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r--include/ItemObject.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index 9dc364f9e..ff7da2418 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -141,7 +141,7 @@ class Item extends BaseObject {
$response_verbs = array('like');
if(feature_enabled($conv->get_profile_owner(),'dislike'))
$response_verbs[] = 'dislike';
- if($item['obj_type'] === ACTIVITY_OBJ_EVENT && $this->is_commentable) {
+ if($item['obj_type'] === ACTIVITY_OBJ_EVENT && $this->is_commentable()) {
$response_verbs[] = 'attendyes';
$response_verbs[] = 'attendno';
$response_verbs[] = 'attendmaybe';
@@ -149,7 +149,7 @@ class Item extends BaseObject {
$attend = array( t('I will attend'), t('I will not attend'), t('I might attend'));
}
- $consensus = ((($item['item_flags'] & ITEM_CONSENSUS) && $this->is_commentable) ? true : false);
+ $consensus = ((($item['item_flags'] & ITEM_CONSENSUS) && $this->is_commentable()) ? true : false);
if($consensus) {
$response_verbs[] = 'agree';
$response_verbs[] = 'disagree';