Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

@@ 8459-8462 (lines=4) @@
8456
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8457
                    $return .= $this->display_document_form('move', $item_id, $row);
8458
                    break;
8459
                case TOOL_LINK :
8460
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8461
                    $return .= $this->display_link_form('move', $item_id, $row);
8462
                    break;
8463
                case TOOL_HOTPOTATOES :
8464
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8465
                    $return .= $this->display_link_form('move', $item_id, $row);
@@ 8463-8466 (lines=4) @@
8460
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8461
                    $return .= $this->display_link_form('move', $item_id, $row);
8462
                    break;
8463
                case TOOL_HOTPOTATOES :
8464
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8465
                    $return .= $this->display_link_form('move', $item_id, $row);
8466
                    break;
8467
                case TOOL_QUIZ :
8468
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8469
                    $return .= $this->display_quiz_form('move', $item_id, $row);