Permalink
Browse files

Fixed broken OPML handling.

  • Loading branch information...
1 parent 747cbba commit 36f4e4d3e50f310e3833c3bc3720b59201d8dde5 @davorg committed Aug 22, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/Perlanet/Trait/OPML.pm
@@ -107,9 +107,8 @@ sub save_opml {
around 'fetch_feeds' => sub {
my $orig = shift;
my ($self, @feeds) = @_;
- return unless $self->has_opml;
@feeds = $self->$orig(@feeds);
- $self->update_opml(@feeds);
+ $self->update_opml(@feeds) if $self->has_opml;
return @feeds;
};

0 comments on commit 36f4e4d

Please sign in to comment.