Skip to content

Commit

Permalink
Correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Aug 22, 2010
1 parent 886c6c4 commit 904fabe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Perlanet.pm
Expand Up @@ -210,8 +210,8 @@ sub select_entries {
for my $feed (@feeds) {
my @entries = $feed->_xml_feed->entries;

if ($self->entries_per_field and @entries > $self->entries_per_feed) {
$#entries = $self->entries - 1;
if ($self->entries_per_feed and @entries > $self->entries_per_feed) {
$#entries = $self->entries_per_feed - 1;
}

push @feed_entries,
Expand Down

0 comments on commit 904fabe

Please sign in to comment.