]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/replies.php
A bunch of clientError that were called as serverError
[quix0rs-gnu-social.git] / actions / replies.php
index 4932520fd6fe53a61c981c210c21f8cdfe83e840..2b5455e23cb0d8a34f4bf14104bc5309a2cbd343 100644 (file)
@@ -90,8 +90,8 @@ class RepliesAction extends Action
                                             NOTICES_PER_PAGE + 1);
 
         if($this->page > 1 && $this->notice->N == 0){
-            // TRANS: Server error when page not found (404)
-            $this->serverError(_('No such page.'),$code=404);
+            // TRANS: Client error when page not found (404)
+            $this->clientError(_('No such page.'), 404);
         }
 
         return true;