diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-09-21 19:51:08 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-09-21 19:51:08 -0700 |
commit | 188dc1fcf8be7476ca912e3e0cd7aa6cef0c9e8c (patch) | |
tree | 621153500aba341b1cee98e800fbea70d5132579 /mod/photos.php | |
parent | 399b6828f6888ff65d3ace22876c49f0887e88e6 (diff) | |
download | volse-hubzilla-188dc1fcf8be7476ca912e3e0cd7aa6cef0c9e8c.tar.gz volse-hubzilla-188dc1fcf8be7476ca912e3e0cd7aa6cef0c9e8c.tar.bz2 volse-hubzilla-188dc1fcf8be7476ca912e3e0cd7aa6cef0c9e8c.zip |
relationship direction was too confusing to work with. instead of "in,out,both" it's now declared by role e.g. "vip,fan,bud".
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php index fa089c435..04dc23e37 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -696,7 +696,7 @@ function photos_content(&$a) { $profile_url = $item['url']; if(local_user() && ($item['contact-uid'] == get_uid()) - && ($item['rel'] == DIRECTION_IN || $item['rel'] == DIRECTION_BOTH) && (! $item['self'] )) + && ($item['rel'] == REL_VIP || $item['rel'] == REL_BUD) && (! $item['self'] )) $profile_url = $redirect_url; $profile_name = ((strlen($item['author-name'])) ? $item['author-name'] : $item['name']); |