Merge branch 'Freenews_v_2.0' into live
This commit is contained in:
commit
8e7dd0f4da
1 changed files with 2 additions and 2 deletions
|
@ -28,9 +28,9 @@ class Freenews extends RssExpander {
|
||||||
$item->title = trim($newsItem->title);
|
$item->title = trim($newsItem->title);
|
||||||
// $this->message("item has for title \"".$item->title."\"");
|
// $this->message("item has for title \"".$item->title."\"");
|
||||||
if(empty($newsItem->guid)) {
|
if(empty($newsItem->guid)) {
|
||||||
$item->uri = $newsItem->link;
|
$item->uri = (string) $newsItem->link;
|
||||||
} else {
|
} else {
|
||||||
$item->uri = $newsItem->guid;
|
$item->uri = (string) $newsItem->guid;
|
||||||
}
|
}
|
||||||
// now load that uri from cache
|
// now load that uri from cache
|
||||||
// $this->message("now loading page ".$item->uri);
|
// $this->message("now loading page ".$item->uri);
|
||||||
|
|
Loading…
Reference in a new issue