forked from GNUsocial/gnu-social
That never was meant to be in that if
This commit is contained in:
parent
6aba21fcd8
commit
b95b318052
@ -179,10 +179,10 @@ function linkback_hcard($mf2, $url) {
|
|||||||
// We found a match, return it immediately
|
// We found a match, return it immediately
|
||||||
if(isset($item['properties']['url']) && in_array($url, $item['properties']['url'])) {
|
if(isset($item['properties']['url']) && in_array($url, $item['properties']['url'])) {
|
||||||
return $item['properties'];
|
return $item['properties'];
|
||||||
|
|
||||||
// Let's keep all the hcards for later, to return one of them at least
|
|
||||||
$hcards[] = $item['properties'];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Let's keep all the hcards for later, to return one of them at least
|
||||||
|
$hcards[] = $item['properties'];
|
||||||
}
|
}
|
||||||
|
|
||||||
// No match immediately for the url we expected, but there were h-cards found
|
// No match immediately for the url we expected, but there were h-cards found
|
||||||
|
Loading…
Reference in New Issue
Block a user