From 1b204fde39271acd38bb8f9dd16734f15c68138a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 14 Aug 2009 13:05:29 -0700 Subject: Revert "Return a 404 when a page is request that has no notices" An empty list still exists; we shouldn't return a 404. This reverts commit c29892c87573e0575b9a4a13210c562e08411148. --- 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 2cf2e96e6..ca352faf8 100644 --- a/actions/public.php +++ b/actions/public.php @@ -93,7 +93,7 @@ class PublicAction extends Action return; } - if($this->page > 1 && $this->notice->N == 0){ + if($this->page > 0 && $this->notice->N == 0){ $this->serverError(_('No such page'),$code=404); } -- cgit v1.2.3-54-g00ecf