Permalink
Browse files

Fix #16880: regression introduced by original patch

  • Loading branch information...
1 parent 65965bb commit cf596c27b2a2e2aac67749b546cece9c23b4bbb1 @dregad dregad committed Jan 28, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/MantisGraph/core/graph_api.php
@@ -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

0 comments on commit cf596c2

Please sign in to comment.