Browse Source

Avoid a warning when a feed contains no items.

pull/1963/head
Michael Vogel 6 years ago
parent
commit
65228e37bb
  1. 2
      include/feed.php

2
include/feed.php

@ -120,6 +120,8 @@ function feed_import($xml,$importer,&$contact, &$hub) {
if (!is_object($entries))
return;
$entrylist = array();
foreach ($entries AS $entry)
$entrylist[] = $entry;

Loading…
Cancel
Save