Permalink
Browse files

Fix #16880: another one

  • Loading branch information...
1 parent a3c9358 commit 56fcd1c0e5c46fa4e9b3c81b7f746940af7aad16 @dregad dregad committed Jan 28, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/MantisGraph/core/graph_api.php
@@ -831,7 +831,7 @@ function create_cumulative_bydate() {
AND $t_history_table.field_name = 'status' )
OR $t_history_table.id is NULL )
ORDER BY $t_bug_table.id, date_modified ASC";
- $result = db_query( $query, array( $t_res_val, $t_res_val ) );
+ $result = db_query_bound( $query, array( $t_res_val, $t_res_val ) );
$bug_count = db_num_rows( $result );
$t_last_id = 0;

0 comments on commit 56fcd1c

Please sign in to comment.