aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-22 14:20:31 -0700
committerFriendika <info@friendika.com>2011-05-22 14:20:31 -0700
commitea0a28ebfb10e1a42e2f28b076b8d4e8d79f8e53 (patch)
tree225ff3c385689abd94c36e3110c07da2daebf56f /include
parentf4e47f168feb1075c30ba478e823f61dbcd26e02 (diff)
downloadvolse-hubzilla-ea0a28ebfb10e1a42e2f28b076b8d4e8d79f8e53.tar.gz
volse-hubzilla-ea0a28ebfb10e1a42e2f28b076b8d4e8d79f8e53.tar.bz2
volse-hubzilla-ea0a28ebfb10e1a42e2f28b076b8d4e8d79f8e53.zip
removed buggy debug code ;)
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 5f761ccf0..4fa4b92ad 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -357,7 +357,7 @@ function conversation(&$a, $items, $mode, $update) {
if($page_writeable) {
if($toplevelpost) {
- $likebuttons = replace_macros((($item['private']) ? $noshare_tpl : $like_tpl),array(
+ $likebuttons = replace_macros((($item['private'] || ($profile_owner != local_user())) ? $noshare_tpl : $like_tpl),array(
'$id' => $item['id'],
'$likethis' => t("I like this \x28toggle\x29"),
'$nolike' => t("I don't like this \x28toggle\x29"),