Skip to content

Commit

Permalink
Fix: Entry count in archive page was always one too few
Browse files Browse the repository at this point in the history
  • Loading branch information
onli committed Feb 21, 2022
1 parent 4292346 commit 8552974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/functions_entries.inc.php
Expand Up @@ -1761,7 +1761,7 @@ function serendipity_printArchives() {
if (array_key_exists($grouptime, $group)) {
$group[$grouptime]++;
} else {
$group[$grouptime] = 0;
$group[$grouptime] = 1;
}
}
}
Expand Down

0 comments on commit 8552974

Please sign in to comment.