From 98b3f5ea919881209692ade2a0143de72d096dfb Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 18 Apr 2011 16:28:41 -0400 Subject: [PATCH] no extra nulls on home page --- actions/all.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/actions/all.php b/actions/all.php index 96f688f720..24d8f6ec09 100644 --- a/actions/all.php +++ b/actions/all.php @@ -59,9 +59,7 @@ class AllAction extends ProfileAction $stream = new ThreadingInboxNoticeStream($this->user, Profile::current()); $this->notice = $stream->getNotices(($this->page-1)*NOTICES_PER_PAGE, - NOTICES_PER_PAGE + 1, - null, - null); + NOTICES_PER_PAGE + 1); if ($this->page > 1 && $this->notice->N == 0) { // TRANS: Server error when page not found (404). -- 2.39.5