aboutsummaryrefslogtreecommitdiffstats
path: root/include/Scrape.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-15 05:27:24 -0700
committerFriendika <info@friendika.com>2011-08-15 05:27:24 -0700
commit5d6155a9685202b055744549a2cb84e3d8195fd2 (patch)
tree49ea552342aa3c5cb28cb9bf2d786d77be231fe1 /include/Scrape.php
parent9cd77b56ab8253b9c664fe18b8cf6def647f9ca8 (diff)
downloadvolse-hubzilla-5d6155a9685202b055744549a2cb84e3d8195fd2.tar.gz
volse-hubzilla-5d6155a9685202b055744549a2cb84e3d8195fd2.tar.bz2
volse-hubzilla-5d6155a9685202b055744549a2cb84e3d8195fd2.zip
fixes share from diaspora
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 b32d7283e..bfe795e19 100644
--- a/include/Scrape.php
+++ b/include/Scrape.php
@@ -494,7 +494,7 @@ function probe_url($url) {
if($check_feed) {
- $feedret = scrape_feed($url);
+ $feedret = scrape_feed(($poll) ? $poll : $url);
logger('probe_url: scrape_feed returns: ' . print_r($feedret,true), LOGGER_DATA);
if(count($feedret) && ($feedret['feed_atom'] || $feedret['feed_rss'])) {
$poll = ((x($feedret,'feed_atom')) ? unamp($feedret['feed_atom']) : unamp($feedret['feed_rss']));