Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

@@ 6367-6370 (lines=4) @@
6364
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6365
                    $return .= $this->display_forum_form('edit', $item_id, $row);
6366
                    break;
6367
                case TOOL_THREAD:
6368
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6369
                    $return .= $this->display_thread_form('edit', $item_id, $row);
6370
                    break;
6371
            }
6372
        }
6373
@@ 8488-8491 (lines=4) @@
8485
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8486
                    $return .= $this->display_forum_form('move', $item_id, $row);
8487
                    break;
8488
                case TOOL_THREAD :
8489
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8490
                    $return .= $this->display_forum_form('move', $item_id, $row);
8491
                    break;
8492
            }
8493
        }
8494