From 222b974b23c6d1ec7727b4aa3aab9b825b673f70 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 4 Aug 2008 09:20:01 -0400 Subject: change no-such-user error to a 404 instead of a 400 darcs-hash:20080804132001-84dde-e6fae9837f87d80356317e4815516dd9ff03e674.gz --- actions/showstream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions') diff --git a/actions/showstream.php b/actions/showstream.php index 1161c92d6..29ff58a59 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) { -- cgit v1.2.3-54-g00ecf