Index: summary_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/summary_page.php,v retrieving revision 1.38 diff -r1.38 summary_page.php 31a32 > $t_history_table = config_get( 'mantis_bug_history_table' ); 33,34c34,35 < $t_clo_val = CLOSED; < $query = "SELECT id, date_submitted, last_updated --- > $t_clo_val = config_get( 'bug_resolved_status_threshold' ); > $query = "SELECT id, date_submitted, last_updated, status 36c37 < WHERE $specific_where AND status='$t_clo_val'"; --- > WHERE $specific_where AND status>='$t_clo_val'"; 46a48,62 > $t_id = $row['id']; > $t_status = $row['status']; > > if ( $t_status <> $t_clo_val ) { > $query2 = "SELECT date_modified > FROM " . $t_history_table . " > WHERE bug_id=$t_id AND type=" . NORMAL_TYPE . > " AND field_name='status' AND new_value=$t_clo_val > ORDER BY date_modified DESC LIMIT 1"; > $result2 = db_query( $query2 ); > if ( db_num_rows( $result2 ) == 1 ) { > $row2 = db_fetch_array( $result2 ); > $t_last_updated = db_unixtimestamp( $row2['date_modified'] ); > } > }