aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-11-10 11:11:23 +0100
committerMax Kostikov <max@kostikov.co>2018-11-10 11:11:23 +0100
commitd20759c1419ae905e70c7bc6b8acaf3e3918d210 (patch)
treef7e6a6465d0d93e2c2a30e83fe8a2d61874f9b98
parentf7b00c62a4f9a13cf7737697b89df45342c55ea2 (diff)
downloadvolse-hubzilla-d20759c1419ae905e70c7bc6b8acaf3e3918d210.tar.gz
volse-hubzilla-d20759c1419ae905e70c7bc6b8acaf3e3918d210.tar.bz2
volse-hubzilla-d20759c1419ae905e70c7bc6b8acaf3e3918d210.zip
Do not return default images from vCard
-rw-r--r--include/network.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/network.php b/include/network.php
index baa8ec40d..d37da05f7 100644
--- a/include/network.php
+++ b/include/network.php
@@ -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;
}