Skip to content

Commit

Permalink
Fix #16880: regression introduced by original patch
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Jan 28, 2014
1 parent 65965bb commit cf596c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/MantisGraph/core/graph_api.php
Expand Up @@ -671,7 +671,7 @@ function enum_bug_group( $p_enum_string, $p_enum ) {
FROM $t_bug_table
WHERE $p_enum=" . db_param() . " AND
status<" . db_param() . " $specific_where";
$result2 = db_query( $query, array( $t_value, $t_res_val ) );
$result2 = db_query_bound( $query, array( $t_value, $t_res_val ) );
$t_metrics['open'][$t_label] = db_result( $result2, 0, 0 );

# Calculates the number of bugs closed and puts the results in a table
Expand Down

0 comments on commit cf596c2

Please sign in to comment.