From 8e5f7da59ebd6ce0276ff31d23be7aa639d07746 Mon Sep 17 00:00:00 2001 From: Rafik Robeal Date: Mon, 23 Nov 2015 20:41:15 -0800 Subject: [PATCH] Port fix to broken print issue page from MantisHub --- print_bugnote_inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/print_bugnote_inc.php b/print_bugnote_inc.php index 6362053172..e1b49e3489 100644 --- a/print_bugnote_inc.php +++ b/print_bugnote_inc.php @@ -74,7 +74,7 @@ $t_query = 'SELECT * FROM ' . $t_bugnote_table . ' WHERE bug_id=' . db_param() . ' ' . $t_restriction . ' ORDER BY date_submitted ' . $t_bugnote_order; -$t_result = db_query_bound( $t_query, array( $c_bug_id ) ); +$t_result = db_query( $t_query, array( $c_bug_id ) ); $t_num_notes = db_num_rows( $t_result ); ?> @@ -104,7 +104,7 @@ # grab the bugnote text and id and prefix with v3_ $t_query = 'SELECT note, id FROM ' . $t_bugnote_text_table . ' WHERE id=' . db_param(); - $t_result2 = db_query_bound( $t_query, array( $t_row['bugnote_text_id'] ) ); + $t_result2 = db_query( $t_query, array( $t_row['bugnote_text_id'] ) ); $t_note = db_result( $t_result2, 0, 0 ); $t_bugnote_text_id = db_result( $t_result2, 0, 1 );