more tweaks #13
This commit is contained in:
parent
26c4054652
commit
58eba782cf
1 changed files with 2 additions and 2 deletions
|
@ -234,7 +234,7 @@ function network_content(&$a, $update = 0) {
|
||||||
$redirect_url = $a->get_baseurl() . '/redir/' . $item['cid'] ;
|
$redirect_url = $a->get_baseurl() . '/redir/' . $item['cid'] ;
|
||||||
|
|
||||||
if(strlen($item['author-link'])) {
|
if(strlen($item['author-link'])) {
|
||||||
if(($item['network'] === 'dfrn') && (! $item['self'])) {
|
if(link_compare($item['author-link'],$item['url']) && ($item['network'] === 'dfrn') && (! $item['self'])) {
|
||||||
$profile_link = $redirect_url;
|
$profile_link = $redirect_url;
|
||||||
$sparkle = ' sparkle';
|
$sparkle = ' sparkle';
|
||||||
}
|
}
|
||||||
|
@ -381,7 +381,7 @@ function network_content(&$a, $update = 0) {
|
||||||
|
|
||||||
if(strlen($item['author-link'])) {
|
if(strlen($item['author-link'])) {
|
||||||
$profile_link = $item['author-link'];
|
$profile_link = $item['author-link'];
|
||||||
if(($item['network'] === 'dfrn') && (! $item['self'])) {
|
if(link_compare($item['author-link'],$item['url']) && ($item['network'] === 'dfrn') && (! $item['self'])) {
|
||||||
$profile_link = $redirect_url;
|
$profile_link = $redirect_url;
|
||||||
$sparkle = ' sparkle';
|
$sparkle = ' sparkle';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue