]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/replies.php
Merge branch 'fixes/private_scope_on_tags' into social-master
[quix0rs-gnu-social.git] / actions / replies.php
index 9915a418c51e6985c83c418ba229152436947203..11d9c7c706cc29a777a326fa5b3e96ece2799e56 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;
@@ -186,7 +186,7 @@ class RepliesAction extends Action
      */
     function showContent()
     {
-        $nl = new NoticeList($this->notice, $this);
+        $nl = new PrimaryNoticeList($this->notice, $this, array('show_n'=>NOTICES_PER_PAGE));
 
         $cnt = $nl->show();
         if (0 === $cnt) {