Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
3cbbd057
Commit
3cbbd057
authored
Nov 08, 2008
by
webchick
Browse files
#329227
by chx: Fix notices in OPML tests.
parent
b0e26356
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/aggregator/aggregator.admin.inc
View file @
3cbbd057
...
...
@@ -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'
]);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment