1
1
Fork 0

missing 'else'

This commit is contained in:
Friendika 2011-01-07 14:31:05 -08:00
parent 6048d89fd2
commit 618adb1593

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;