aboutsummaryrefslogtreecommitdiffstats
path: root/include/Scrape.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-28 04:35:44 -0700
committerFriendika <info@friendika.com>2011-09-28 04:35:44 -0700
commita1786cbf61a3ea6ff15ebcc578e7ad9800814391 (patch)
treefcc79eeddafa8ef74746562ca63e58d23801fe10 /include/Scrape.php
parentd0f45bf28167ddb4c4d4361b44d75b19157fbffb (diff)
downloadvolse-hubzilla-a1786cbf61a3ea6ff15ebcc578e7ad9800814391.tar.gz
volse-hubzilla-a1786cbf61a3ea6ff15ebcc578e7ad9800814391.tar.bz2
volse-hubzilla-a1786cbf61a3ea6ff15ebcc578e7ad9800814391.zip
fixes for statusnet/identi.ca empty vcard page - which appears to be deprecated. Scrape the feed for everything we used to get from the vcard.
Diffstat (limited to 'include/Scrape.php')
-rw-r--r--include/Scrape.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Scrape.php b/include/Scrape.php
index 2af02fff5..642b8e624 100644
--- a/include/Scrape.php
+++ b/include/Scrape.php
@@ -533,7 +533,7 @@ function probe_url($url, $mode = PROBE_NORMAL) {
if($twitter || ! $poll)
$check_feed = true;
- if((! isset($vcard)) || (! $profile))
+ if((! isset($vcard)) || (! x($vcard,'fn')) || (! $profile))
$check_feed = true;
if(($at_addr) && (! count($links)))
$check_feed = false;