While testing various feeds, I found that the URL was always comming in empty and fixed it by type casting to string.

...
    if ($news['link']) {
      $original_url = $news['link'];
    }
    else {
      $original_url = NULL;
    }
...

to

...
    if ((string)$news['link']) {
      $original_url = $news['link'];
    }
    else {
      $original_url = NULL;
    }
...

Comments

aron novak’s picture

Assigned: Unassigned » aron novak
Status: Active » Fixed

Thanks a lot because of spotting this issue, it's fixed now. (it's in the CVS, the next daily build will contain)

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.