Skip to content

Commit

Permalink
Skip items without a URL, refs #3
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Apr 18, 2011
1 parent 9c3bda4 commit 1a2afe8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fetch.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ public static function get_item_link(ezcFeedEntryElement $item)

public static function import_item(ezcFeedEntryElement $feed_item, $index, com_meego_planet_feed $feed)
{
if (!self::get_item_link($feed_item))
{
return;
}
$item = self::get_item_by_url(self::get_item_link($feed_item));
$item->feed = $feed->id;

Expand Down

0 comments on commit 1a2afe8

Please sign in to comment.