kopia lustrzana https://github.com/friendica/friendica
Avoid a warning when a feed contains no items.
rodzic
a961c29d05
commit
65228e37bb
|
@ -120,6 +120,8 @@ function feed_import($xml,$importer,&$contact, &$hub) {
|
|||
if (!is_object($entries))
|
||||
return;
|
||||
|
||||
$entrylist = array();
|
||||
|
||||
foreach ($entries AS $entry)
|
||||
$entrylist[] = $entry;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue