Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
501 B
2
Indexable
Never
			if ( $p_status_id == config_get( 'bug_reopen_status' ) && bug_get_field( $p_issue_id, 'status' ) >= config_get( 'bug_resolved_status_threshold' ) ) {
				bug_reopen( $p_issue_id, $t_note_text, '0:00', $t_view_state_id == VS_PRIVATE, $p_creator_id );
			}
			else {
				bug_set_field( $p_issue_id, 'status', $p_status_id );
				if ( !is_blank( $t_note_text ) ) {
					bugnote_add( $p_issue_id, $t_note_text, '0:00', $t_view_state_id == VS_PRIVATE, '', $t_user_id, $p_creator_id );
				}
			}