1091,1092c1091,1092 < // If not global, then attempt mapping it to the new project. < if ( $t_category_project_id != ALL_PROJECTS ) { --- > // If not global and not inheriting the category project, then attempt mapping it to the new project. > if ( $t_category_project_id != ALL_PROJECTS && !project_hierarchy_inherit_parent($p_target_project_id, $t_category_project_id)) {