]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/showprofiletag.php
Added missing isPrivateScope().
[quix0rs-gnu-social.git] / actions / showprofiletag.php
index fea5afd0adb128d3937edc61d5ed88d14a547be0..1bb126bfbed879e31a248939f0cd7e015b212d1e 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;