Code: Select all
Fatal error: Uncaught TypeError: Argument 1 passed to workflow_parse() must be of the type array, null given, called in E:\mantisbt-2.0.0\manage_config_workflow_page.php on line 452 and defined in E:\mantisbt-2.0.0\core\workflow_api.php:53 Stack trace: #0 E:\mantisbt-2.0.0\manage_config_workflow_page.php(452): workflow_parse(NULL) #1 {main} thrown in E:\mantisbt-2.0.0\core\workflow_api.php on line 53
Code: Select all
$g_status_enum_workflow = array();
Code: Select all
$g_file_workflow = workflow_parse( config_get_global( 'status_enum_workflow' ) );
$g_global_workflow = workflow_parse( config_get( 'status_enum_workflow', null, ALL_USERS, ALL_PROJECTS ) );
$g_project_workflow = workflow_parse( config_get( 'status_enum_workflow', null, ALL_USERS, $t_project ) );
Code: Select all
function workflow_parse( array $p_enum_workflow ) {
$t_status_arr = MantisEnum::getAssocArrayIndexedByValues( config_get( 'status_enum_string' ) );