Page 1 of 1

More infos from mc_project_get_issue_headers

Posted: 13 Apr 2018, 12:13
by RWarnecke
Hello,

I want to add more infos in the result of the function mc_project_get_issue_headers. For example I had added these three lines

Code: Select all

                if( access_has_bug_level( config_get( 'roadmap_view_threshold' ), (int)$t_id ) ) {
                        $t_issue['target_version'] = mci_get_version( $p_issue_data->target_version, $p_issue_data->project_id );
                }
into the function "mci_issue_data_as_header_array". But the new point "target_version" is doesn't shown in the result of the function "mc_project_get_issue_headers". What is my mistake or did I forget something ?

Installed is :
Mantis Version 2.12.0 -- Schema 209