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
2aa80360
Commit
2aa80360
authored
Jan 24, 2004
by
Dries
Browse files
- Fixed bug in image parsing: caused 'Array' to be printed on the screen.
parent
b85eb11e
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/aggregator.module
View file @
2aa80360
...
...
@@ -317,6 +317,9 @@ function aggregator_refresh($feed) {
if
(
$image
[
'LINK'
]
&&
$image
[
'URL'
]
&&
$image
[
'TITLE'
])
{
$image
=
"<a href=
\"
"
.
$image
[
'LINK'
]
.
"
\"
><img src=
\"
"
.
$image
[
'URL'
]
.
"
\"
alt=
\"
"
.
$image
[
'TITLE'
]
.
"
\"
/></a>"
;
}
else
{
$image
=
NULL
;
}
/*
** Update the feed data:
...
...
modules/aggregator/aggregator.module
View file @
2aa80360
...
...
@@ -317,6 +317,9 @@ function aggregator_refresh($feed) {
if
(
$image
[
'LINK'
]
&&
$image
[
'URL'
]
&&
$image
[
'TITLE'
])
{
$image
=
"<a href=
\"
"
.
$image
[
'LINK'
]
.
"
\"
><img src=
\"
"
.
$image
[
'URL'
]
.
"
\"
alt=
\"
"
.
$image
[
'TITLE'
]
.
"
\"
/></a>"
;
}
else
{
$image
=
NULL
;
}
/*
** Update the feed data:
...
...
Write
Preview
Markdown
is supported
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