mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-09-28 12:26:09 +02:00
BUGFIX: replace deprecated DataObjectSet for ArrayList
This commit is contained in:
parent
40d704a0d7
commit
cfa7410cf2
@ -59,7 +59,7 @@ class RSSWidget extends Widget {
|
||||
}
|
||||
|
||||
function getFeedItems() {
|
||||
$output = new DataObjectSet();
|
||||
$output = new ArrayList();
|
||||
|
||||
// Protection against infinite loops when an RSS widget pointing to this page is added to this page
|
||||
if(stristr($_SERVER['HTTP_USER_AGENT'], 'SimplePie')) {
|
||||
|
Loading…
Reference in New Issue
Block a user