diff options
author | friendica <info@friendica.com> | 2013-01-06 16:36:02 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-06 16:36:02 -0800 |
commit | a9aa74a8074fd2eec58dd5927313fcef4fd5d930 (patch) | |
tree | 5a2dbc454bba67c156ea698070caa607c5f4212e /include | |
parent | a8afbec5fed4803823092714528cca27c8db6598 (diff) | |
download | volse-hubzilla-a9aa74a8074fd2eec58dd5927313fcef4fd5d930.tar.gz volse-hubzilla-a9aa74a8074fd2eec58dd5927313fcef4fd5d930.tar.bz2 volse-hubzilla-a9aa74a8074fd2eec58dd5927313fcef4fd5d930.zip |
make dislikes work - though they need a display tweak
Diffstat (limited to 'include')
-rw-r--r-- | include/ItemObject.php | 2 | ||||
-rw-r--r-- | include/conversation.php | 2 |
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 |