]> git.mxchange.org Git - friendica.git/commitdiff
missing 'else'
authorFriendika <info@friendika.com>
Fri, 7 Jan 2011 22:31:05 +0000 (14:31 -0800)
committerFriendika <info@friendika.com>
Fri, 7 Jan 2011 22:31:05 +0000 (14:31 -0800)
include/items.php

index 61bc0c5d77651ccc0893c287e0ced7d26b1e5cde..3901dc2ae309fdc90dfc659e6ec9213253d9fc8f 100644 (file)
@@ -931,9 +931,13 @@ function consume_feed($xml,$importer,$contact, &$hub, $datedir = 0) {
 
        // Now process the feed
        if($feed->get_item_quantity()) {                
+
         // in inverse date order
                if ($datedir)
                        $items = array_reverse($feed->get_items());
+               else
+                       $items = $feed->get_items();
+
                foreach($items as $item) {
 
                        $deleted = false;