aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2011-01-20 08:17:41 +0100
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2011-01-20 08:17:41 +0100
commita8b9b219158e8565af615b852c587787ad58a0a3 (patch)
tree2476b3b0aa892b2711943a500e1869d15b29d607 /mod/profile.php
parentb43ec25955de2a2e18cd1d65023341abdcd5b519 (diff)
parent2ffe0d0b1d9589b6b37d8ade0114caef31339001 (diff)
downloadvolse-hubzilla-a8b9b219158e8565af615b852c587787ad58a0a3.tar.gz
volse-hubzilla-a8b9b219158e8565af615b852c587787ad58a0a3.tar.bz2
volse-hubzilla-a8b9b219158e8565af615b852c587787ad58a0a3.zip
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile.php b/mod/profile.php
index bcd2b64e3..936379360 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -297,7 +297,7 @@ function profile_content(&$a, $update = 0) {
$profile_url = $item['url'];
- // This is my profile but I'm not the author of this post/comment. If it's somebody that's a fan or mutual friend,
+ // This is my profile page but I'm not the author of this post/comment. If it's somebody that's a fan or mutual friend,
// I can go directly to their profile as an authenticated guest.
if(local_user() && ($item['contact-uid'] == $_SESSION['uid'])
@@ -314,7 +314,7 @@ function profile_content(&$a, $update = 0) {
// local contact info at all. In this module you should never encounter a third-party author, but we still will do
// the right thing if you ever do.
- $diff_author = (($item['url'] !== $item['author-link']) ? true : false);
+ $diff_author = ((link_compare($item['url'],$item['author-link'])) ? false : true);
$profile_name = (((strlen($item['author-name'])) && $diff_author) ? $item['author-name'] : $item['name']);
$profile_avatar = (((strlen($item['author-avatar'])) && $diff_author) ? $item['author-avatar'] : $item['thumb']);