diff options
author | Friendika <info@friendika.com> | 2011-01-07 14:31:05 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-01-07 14:31:05 -0800 |
commit | 618adb15937843db854a6cc8e7888dad3e81e8a4 (patch) | |
tree | 6f682f0a10839404514364e447becf9c7b75cccd /include/items.php | |
parent | 6048d89fd27355f484f534d325ddea68e7b85d8b (diff) | |
download | volse-hubzilla-618adb15937843db854a6cc8e7888dad3e81e8a4.tar.gz volse-hubzilla-618adb15937843db854a6cc8e7888dad3e81e8a4.tar.bz2 volse-hubzilla-618adb15937843db854a6cc8e7888dad3e81e8a4.zip |
missing 'else'
Diffstat (limited to 'include/items.php')
-rw-r--r-- | include/items.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php index 61bc0c5d7..3901dc2ae 100644 --- a/include/items.php +++ b/include/items.php @@ -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; |