aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/ItemObject.php2
-rw-r--r--include/conversation.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index 45ea6860a..8091f003b 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -154,7 +154,7 @@ class Item extends BaseObject {
}
$showlike = ((x($alike,$item['uri'])) ? format_like($alike[$item['uri']],$alike[$item['uri'] . '-l'],'like',$item['uri']) : '');
- $showdislike = ((x($dlike,$item['uri']) && feature_enabled($conv->get_profile_owner(),'dislike')) ? format_like($dlike[$item['uri']],$dlike[$item['uri'] . '-l'],'dislike',$item['uri']) : '');
+ $showdislike = ((x($dlike,$item['uri']) && feature_enabled($conv->get_profile_owner(),'dislike')) ? format_like($dlike[$item['uri']],$dlike[$item['uri'] . '-l'],'dislike',$item['uri']) : '');
/*
* We should avoid doing this all the time, but it depends on the conversation mode
diff --git a/include/conversation.php b/include/conversation.php
index 7ad231b58..ba92c1a57 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -651,7 +651,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional') {
// Can we put this after the visibility check?
like_puller($a,$item,$alike,'like');
- if(feature_enabled($profile_uid,'dislike'))
+ if(feature_enabled($profile_owner,'dislike'))
like_puller($a,$item,$dlike,'dislike');
// Only add what is visible