Commit 3cbbd057 authored by webchick's avatar webchick
Browse files

#329227 by chx: Fix notices in OPML tests.

parent b0e26356
......@@ -360,7 +360,7 @@ function _aggregator_parse_opml($opml) {
foreach ($values as $entry) {
if ($entry['tag'] == 'OUTLINE' && isset($entry['attributes'])) {
$item = $entry['attributes'];
if (!empty($item['XMLURL'])) {
if (!empty($item['XMLURL']) && !empty($item['TEXT'])) {
$feeds[] = array('title' => $item['TEXT'], 'url' => $item['XMLURL']);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment