diff options
author | 2016-01-31 09:01:11 -0800 | |
---|---|---|
committer | 2016-01-31 09:01:11 -0800 | |
commit | 34550e94dbbe8c42a3581be5257f08c4684cf453 (patch) | |
tree | 5d570727b19daabf499ea38f28118091a5a0da85 | |
parent | Merge the rest of the prior template changes (diff) | |
download | bugzilla-34550e94dbbe8c42a3581be5257f08c4684cf453.tar.gz bugzilla-34550e94dbbe8c42a3581be5257f08c4684cf453.tar.bz2 bugzilla-34550e94dbbe8c42a3581be5257f08c4684cf453.zip |
custom_userhistory: user_id_to_login replace by Bugzilla::User object usage.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-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>"; |