diff --git a/calendar/inc/class.uicalendar.inc.php b/calendar/inc/class.uicalendar.inc.php index e5cceb3b11..4d8ac1ef91 100755 --- a/calendar/inc/class.uicalendar.inc.php +++ b/calendar/inc/class.uicalendar.inc.php @@ -1456,7 +1456,7 @@ { foreach($todos as $todo) { - if(!$showall && ($i++>$maxshow)) + if(!$showall && ($i++>=$maxshow)) { break; }