]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/public.php
Revert "Return a 404 when a page is request that has no notices"
[quix0rs-gnu-social.git] / actions / public.php
index 2cf2e96e685c606f5214f9b57a17be80d67be9da..ca352faf85a068ea20d79db458248f9348e381c2 100644 (file)
@@ -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);
         }