Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
e396dee3
Commit
e396dee3
authored
Jul 13, 2009
by
Ben Bradshaw
Browse files
[#3347] Patching XML Feed Reader 1.0.3 - adding <link> fix
previous commit with this fix:
e662d5d9
parent
48b8953c
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/pear/XML/Feed/Parser/RSS2.php
View file @
e396dee3
...
...
@@ -321,7 +321,8 @@ class XML_Feed_Parser_RSS2 extends XML_Feed_Parser_Type
*/
function
getLink
(
$offset
,
$attribute
=
'href'
,
$params
=
array
())
{
$links
=
$this
->
model
->
getElementsByTagName
(
'link'
);
$xPath
=
new
DOMXPath
(
$this
->
model
);
$links
=
$xPath
->
query
(
'//link'
);
if
(
$links
->
length
<=
$offset
)
{
return
false
;
...
...
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