diff options
author | 2016-01-31 09:01:52 -0800 | |
---|---|---|
committer | 2016-01-31 09:01:52 -0800 | |
commit | b37a550353991b9e8a0fcb40ba1469b44de490d4 (patch) | |
tree | 5b12c69edaf50f86f2142093723e238bb82ef2b2 | |
parent | Bug 1235395 - whine.pl broken due to a missing generate_email() routine r=lps... (diff) | |
parent | custom_userhistory: user_id_to_login replace by Bugzilla::User object usage. (diff) | |
download | bugzilla-b37a550353991b9e8a0fcb40ba1469b44de490d4.tar.gz bugzilla-b37a550353991b9e8a0fcb40ba1469b44de490d4.tar.bz2 bugzilla-b37a550353991b9e8a0fcb40ba1469b44de490d4.zip |
Merge branch 'bugstest'
-rwxr-xr-x | custom_userhistory.cgi | 2 |
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>"; |