aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-19 21:54:33 -0700
committerFriendika <info@friendika.com>2011-10-19 21:54:33 -0700
commitdf996a8b5ed2ac33c26a522d65eca6d6a4abe439 (patch)
treec86ff1e43a39a42f9eba8dfd04bc4aebd7a82c6b /include/items.php
parentc4179d989fcce35dc174c00dedb1cde1930d744d (diff)
downloadvolse-hubzilla-df996a8b5ed2ac33c26a522d65eca6d6a4abe439.tar.gz
volse-hubzilla-df996a8b5ed2ac33c26a522d65eca6d6a4abe439.tar.bz2
volse-hubzilla-df996a8b5ed2ac33c26a522d65eca6d6a4abe439.zip
fix for errant top-level posts from feeds
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 136dee90f..8dc997b16 100644
--- a/include/items.php
+++ b/include/items.php
@@ -1341,7 +1341,10 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $pass = 0)
$parent_uri = $rawthread[0]['attribs']['']['ref'];
}
- if(($is_reply) && is_array($contact) && $pass != 1) {
+ if(($is_reply) && is_array($contact)) {
+
+ if($pass == 1)
+ continue;
// Have we seen it? If not, import it.