missing 'else'
This commit is contained in:
parent
6048d89fd2
commit
618adb1593
1 changed files with 4 additions and 0 deletions
|
@ -931,9 +931,13 @@ function consume_feed($xml,$importer,$contact, &$hub, $datedir = 0) {
|
||||||
|
|
||||||
// Now process the feed
|
// Now process the feed
|
||||||
if($feed->get_item_quantity()) {
|
if($feed->get_item_quantity()) {
|
||||||
|
|
||||||
// in inverse date order
|
// in inverse date order
|
||||||
if ($datedir)
|
if ($datedir)
|
||||||
$items = array_reverse($feed->get_items());
|
$items = array_reverse($feed->get_items());
|
||||||
|
else
|
||||||
|
$items = $feed->get_items();
|
||||||
|
|
||||||
foreach($items as $item) {
|
foreach($items as $item) {
|
||||||
|
|
||||||
$deleted = false;
|
$deleted = false;
|
||||||
|
|
Loading…
Reference in a new issue