Browse Source

Merge pull request #1963 from annando/1510-feed-warning

Avoid a warning when a feed contains no items.
pull/1964/head
Tobias Diekershoff 6 years ago
parent
commit
c855c9ba67
  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