aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-01-31 09:01:52 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2016-01-31 09:01:52 -0800
commitb37a550353991b9e8a0fcb40ba1469b44de490d4 (patch)
tree5b12c69edaf50f86f2142093723e238bb82ef2b2
parentBug 1235395 - whine.pl broken due to a missing generate_email() routine r=lps... (diff)
parentcustom_userhistory: user_id_to_login replace by Bugzilla::User object usage. (diff)
downloadbugzilla-b37a550353991b9e8a0fcb40ba1469b44de490d4.tar.gz
bugzilla-b37a550353991b9e8a0fcb40ba1469b44de490d4.tar.bz2
bugzilla-b37a550353991b9e8a0fcb40ba1469b44de490d4.zip
Merge branch 'bugstest'
-rwxr-xr-xcustom_userhistory.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom_userhistory.cgi b/custom_userhistory.cgi
index 841c2e00b..7c13740ba 100755
--- a/custom_userhistory.cgi
+++ b/custom_userhistory.cgi
@@ -30,7 +30,7 @@ trick_taint($userid) if defined($userid);
trick_taint($limit);
$userid = $matchstr ? login_to_id($matchstr) : $userid;
-my $login_name = $matchstr ? $matchstr : user_id_to_login($userid);
+my $login_name = $matchstr ? $matchstr : Bugzilla::User->new($matchstr)->login;
if(!$userid || !$login_name) {
print "Bad user!<br>";