relationship direction was too confusing to work with. instead of "in,out,both" it's now declared by role e.g. "vip,fan,bud".
This commit is contained in:
@@ -189,7 +189,7 @@ function display_content(&$a) {
|
||||
$template = $wallwall;
|
||||
$commentww = 'ww';
|
||||
// If it is our contact, use a friendly redirect link
|
||||
if(($item['owner-link'] == $item['url']) && ($item['rel'] == DIRECTION_IN || $item['rel'] == DIRECTION_BOTH))
|
||||
if(($item['owner-link'] == $item['url']) && ($item['rel'] == REL_VIP || $item['rel'] == REL_BUD))
|
||||
$owner_url = $redirect_url;
|
||||
$owner_url = $redirect_url;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user