Avoid a warning when a feed contains no items.

This commit is contained in:
Michael Vogel 2015-10-14 08:10:06 +02:00
parent a961c29d05
commit 65228e37bb

View File

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