Merged in release/3.3 (pull request #6595)

HOR-4815

Approved-by: Paula Quispe <paula.quispe@processmaker.com>
Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Paula Quispe
2018-08-20 12:12:56 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -71,7 +71,7 @@ class DashletRssReader implements DashletInterface
$self->rss = @simplexml_load_string( curl_exec( $pCurl ) ); $self->rss = @simplexml_load_string( curl_exec( $pCurl ) );
if ($self->rss) { if ($self->rss) {
$index = 0; $index = 0;
$render = ''; $render = [];
$self->items = $self->rss->channel->item; $self->items = $self->rss->channel->item;
if (count( $self->rss->channel ) != 0) { if (count( $self->rss->channel ) != 0) {
$status = 'true'; $status = 'true';