Avoid a warning when a feed contains no items.

pull/1963/head
Michael Vogel 2015-10-14 08:10:06 +02:00
rodzic a961c29d05
commit 65228e37bb
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

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