Skip to content

Commit

Permalink
Port fix to broken print issue page from MantisHub
Browse files Browse the repository at this point in the history
  • Loading branch information
syncguru committed Nov 24, 2015
1 parent 969aab5 commit 8e5f7da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions print_bugnote_inc.php
Expand Up @@ -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 );
?>

Expand Down Expand Up @@ -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 );

Expand Down

0 comments on commit 8e5f7da

Please sign in to comment.