Skip to content

Commit

Permalink
* core/summary_api.php
Browse files Browse the repository at this point in the history
  (print_reporter_summary): use user_get_name() to prevent problems when the
    user has been deleted


git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1825 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Julian Fitzell committed Feb 11, 2003
1 parent 6ebcce8 commit dc93493
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/summary_api.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: summary_api.php,v 1.8 2003-01-03 03:24:25 jfitzell Exp $
# $Id: summary_api.php,v 1.9 2003-02-11 09:04:56 jfitzell Exp $
# --------------------------------------------------------

###########################################################################
Expand Down Expand Up @@ -212,7 +212,7 @@ function print_reporter_summary() {
$row = db_fetch_array( $result );

$v_id = $row['reporter_id'];
$v_username = user_get_field( $v_id, 'username' );
$v_username = user_get_name( $v_id );

$t_res_val = RESOLVED;
$t_clo_val = CLOSED;
Expand Down

0 comments on commit dc93493

Please sign in to comment.