missing 'else'
This commit is contained in:
parent
6048d89fd2
commit
618adb1593
|
@ -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…
Reference in a new issue