Skip to content

Commit

Permalink
Fixed broken OPML handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Aug 22, 2010
1 parent 747cbba commit 36f4e4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Perlanet/Trait/OPML.pm
Expand Up @@ -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;
};

Expand Down

0 comments on commit 36f4e4d

Please sign in to comment.