aboutsummaryrefslogtreecommitdiffstats
path: root/mod/like.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/like.php')
-rw-r--r--mod/like.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/like.php b/mod/like.php
index c7782d4d7..ac528d221 100644
--- a/mod/like.php
+++ b/mod/like.php
@@ -66,7 +66,7 @@ function like_content(&$a) {
}
- if((local_user()) && (get_uid() == $owner_uid)) {
+ if((local_user()) && (local_user() == $owner_uid)) {
$contact = $owner;
}
else {