Fix incorrect number of infolog entries shown in home

This commit is contained in:
alpeb 2004-08-01 16:45:04 +00:00
parent 700c20b802
commit 39c1a0aabb

View File

@ -1463,7 +1463,7 @@
{ {
foreach($todos as $todo) foreach($todos as $todo)
{ {
if(!$showall && ($i++>$maxshow)) if(!$showall && ($i++>=$maxshow))
{ {
break; break;
} }