diff options
author | Friendika <info@friendika.com> | 2011-10-19 21:54:33 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-10-19 21:54:33 -0700 |
commit | df996a8b5ed2ac33c26a522d65eca6d6a4abe439 (patch) | |
tree | c86ff1e43a39a42f9eba8dfd04bc4aebd7a82c6b /include | |
parent | c4179d989fcce35dc174c00dedb1cde1930d744d (diff) | |
download | volse-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')
-rw-r--r-- | include/items.php | 5 |
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. |