From: Evan Prodromou Date: Mon, 4 Aug 2008 13:20:01 +0000 (-0400) Subject: change no-such-user error to a 404 instead of a 400 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=222b974b23c6d1ec7727b4aa3aab9b825b673f70;p=quix0rs-gnu-social.git change no-such-user error to a 404 instead of a 400 darcs-hash:20080804132001-84dde-e6fae9837f87d80356317e4815516dd9ff03e674.gz --- diff --git a/actions/showstream.php b/actions/showstream.php index 1161c92d6b..29ff58a594 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -107,7 +107,7 @@ class ShowstreamAction extends StreamAction { } function no_such_user() { - common_user_error(_('No such user.')); + $this->client_error(_('No such user.'), 404); } function show_profile($profile) {