Workaround for local resource path to photo from Diaspora
This commit is contained in:
parent
e35f5d3c93
commit
2c4bd9a3fe
@ -1963,6 +1963,7 @@ function scrape_vcard($url) {
|
||||
}
|
||||
}
|
||||
|
||||
$ret['photo'] = (filter_var($ret['photo'], FILTER_VALIDATE_URL) ? $ret['photo'] : substr($ret['url'], 0, -1) . $ret['photo']);
|
||||
return $ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user