Do not return default images from vCard

This commit is contained in:
Max Kostikov 2018-11-10 11:11:23 +01:00
parent f7b00c62a4
commit d20759c141

View File

@ -1963,7 +1963,6 @@ function scrape_vcard($url) {
}
}
$ret['photo'] = (filter_var($ret['photo'], FILTER_VALIDATE_URL) ? $ret['photo'] : substr($ret['url'], 0, -1) . $ret['photo']);
return $ret;
}