Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

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