From c558f9f5ab886ca1202ba7095803319361e06290 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 20 May 2010 17:38:16 +0200 Subject: Bug 565879: Merge ThrowCodeError("action_unrecognized"), ThrowUserError("no_valid_action") and ThrowCodeError("unknown_action") r=ghendricks a=LpSolit --- votes.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'votes.cgi') diff --git a/votes.cgi b/votes.cgi index b7622fbb0..04589d4bc 100755 --- a/votes.cgi +++ b/votes.cgi @@ -41,7 +41,7 @@ elsif ($action eq "show_user" or $action eq 'vote') { $cgi->param('id', 'voting/user.html'); } else { - ThrowCodeError("unknown_action", {action => $action}); + ThrowUserError('unknown_action', {action => $action}); } print $cgi->redirect('page.cgi?' . $cgi->query_string); -- cgit v1.2.3-24-g4f1b