From b936a5166d825239b269bf9ee9ea5627f452a188 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 16 Aug 2009 10:37:15 -0400 Subject: Revert "Revert "Return a 404 when a page is request that has no notices"" This reverts commit 1b204fde39271acd38bb8f9dd16734f15c68138a. --- actions/public.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/public.php') diff --git a/actions/public.php b/actions/public.php index ca352faf8..2cf2e96e6 100644 --- a/actions/public.php +++ b/actions/public.php @@ -93,7 +93,7 @@ class PublicAction extends Action return; } - if($this->page > 0 && $this->notice->N == 0){ + if($this->page > 1 && $this->notice->N == 0){ $this->serverError(_('No such page'),$code=404); } -- cgit v1.2.3-54-g00ecf