]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/showprofiletag.php
Merge branch 'configure-docs' into 'nightly'
[quix0rs-gnu-social.git] / actions / showprofiletag.php
index d96acec5909971179af04fcd377f599fd1f5fc7c..6ba0c18f90fdb65d3ad6b6cd1b1483402b626913 100644 (file)
@@ -96,8 +96,8 @@ class ShowprofiletagAction 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;