Skip to content

Commit

Permalink
use the default url if none of the others are available
Browse files Browse the repository at this point in the history
  • Loading branch information
szabgab committed Mar 6, 2011
1 parent 1488410 commit 74579c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PEG.pm
Expand Up @@ -170,7 +170,7 @@ sub _rss {
$n->{wiki} =~ s/ /_/g;
$wiki = "http://perlfoundation.org/perl5/$n->{wiki}";
}
$link = $wiki || $n->{url} || '';
$link = $wiki || $n->{url} || $url || '';
}

$rss->add_item(
Expand Down

0 comments on commit 74579c3

Please sign in to comment.