summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrelogin.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/relogin.cgi b/relogin.cgi
index 1aef30e10..0d772f9eb 100755
--- a/relogin.cgi
+++ b/relogin.cgi
@@ -121,8 +121,8 @@ elsif ($action eq 'begin-sudo') {
&& ($token_data eq 'sudo_prepared'))
{
ThrowUserError('sudo_preparation_required',
- { target_login => $cgi->param('target_login'),
- reason => $cgi->param('reason')});
+ { target_login => scalar $cgi->param('target_login'),
+ reason => scalar $cgi->param('reason')});
}
Bugzilla::Token::DeleteToken($cgi->param('token'));