Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

@@ 8403-8406 (lines=4) @@
8400
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8401
                    $return .= $this->display_document_form('move', $item_id, $row);
8402
                    break;
8403
                case TOOL_LINK :
8404
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8405
                    $return .= $this->display_link_form('move', $item_id, $row);
8406
                    break;
8407
                case TOOL_HOTPOTATOES :
8408
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8409
                    $return .= $this->display_link_form('move', $item_id, $row);
@@ 8407-8410 (lines=4) @@
8404
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8405
                    $return .= $this->display_link_form('move', $item_id, $row);
8406
                    break;
8407
                case TOOL_HOTPOTATOES :
8408
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8409
                    $return .= $this->display_link_form('move', $item_id, $row);
8410
                    break;
8411
                case TOOL_QUIZ :
8412
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8413
                    $return .= $this->display_quiz_form('move', $item_id, $row);