Browse Source

missing 'else'

pull/1/head
Friendika 11 years ago
parent
commit
618adb1593
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      include/items.php

+ 4
- 0
include/items.php View 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;


Loading…
Cancel
Save