X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Frepliesrss.php;h=43be133a43a3ffb8a21e05474b96738ab504c465;hb=bc15d027a804e60e76bdaf6fd47e69d41b395e7e;hp=19ab0866a3bb4b2d2a388d0ef9786cfed84814bd;hpb=04ef1ba8eee7a9e2a565d7b4b747ef607665d562;p=quix0rs-gnu-social.git diff --git a/actions/repliesrss.php b/actions/repliesrss.php index 19ab0866a3..43be133a43 100644 --- a/actions/repliesrss.php +++ b/actions/repliesrss.php @@ -23,7 +23,8 @@ require_once(INSTALLDIR.'/lib/rssaction.php'); // Formatting of RSS handled by Rss10Action -class RepliesrssAction extends Rss10Action { +class RepliesrssAction extends Rss10Action +{ var $user = null; @@ -33,7 +34,7 @@ class RepliesrssAction extends Rss10Action { $this->user = User::staticGet('nickname', $nickname); if (!$this->user) { - common_user_error(_('No such user.')); + $this->clientError(_('No such user.')); return false; } else { return true;