Skip to content

Commit

Permalink
Fix corner case (no developers in the system) warnings
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4939 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
giallu committed Jan 31, 2008
1 parent 1ac8a96 commit 3cdbd42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/summary_api.php
Expand Up @@ -412,6 +412,8 @@ function summary_print_by_developer() {
$t_resolved_val = RESOLVED;
$t_closed_val = CLOSED;

$t_summaryusers = array();
$t_summarydata = array();
while ( $row = db_fetch_array( $result ) ) {
$t_summarydata[] = $row;
$t_summaryusers[] = $row['handler_id'];
Expand Down

0 comments on commit 3cdbd42

Please sign in to comment.