From 0db530a855f92752aaa4bcf355df3ecba9af8226 Mon Sep 17 00:00:00 2001 From: Damien Regad Date: Tue, 28 Jan 2014 11:00:04 +0100 Subject: [PATCH] Fix #16880: another one --- plugins/MantisGraph/core/graph_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/MantisGraph/core/graph_api.php b/plugins/MantisGraph/core/graph_api.php index fb3a712670..ba07ce8570 100644 --- a/plugins/MantisGraph/core/graph_api.php +++ b/plugins/MantisGraph/core/graph_api.php @@ -888,7 +888,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;