From 8ccd28088911ce3c70b95f6084c8557ab5c6979d Mon Sep 17 00:00:00 2001 From: lkassianik Date: Tue, 23 Jun 2015 17:48:29 -0700 Subject: [PATCH] Fixing an overlooked counter Summary: Fixing an overlooked counter. Test Plan: Make sure month view daily event lists actually display only 15 events per day Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D13411 --- src/view/phui/calendar/PHUICalendarMonthView.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/view/phui/calendar/PHUICalendarMonthView.php b/src/view/phui/calendar/PHUICalendarMonthView.php index 766b47fa89..06d15bbcc9 100644 --- a/src/view/phui/calendar/PHUICalendarMonthView.php +++ b/src/view/phui/calendar/PHUICalendarMonthView.php @@ -104,6 +104,7 @@ final class PHUICalendarMonthView extends AphrontView { if ($counter <= $max_daily) { $list->addEvent($item); } + $counter++; } $uri = $this->getBrowseURI();