Code Duplication    Length = 4-4 lines in 2 locations

main/lp/learnpath.class.php 2 locations

@@ 6758-6761 (lines=4) @@
6755
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6756
                    $return .= $this->display_document_form('edit', $item_id, $row_step);
6757
                    break;
6758
                case TOOL_QUIZ:
6759
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6760
                    $return .= $this->display_quiz_form('edit', $item_id, $row);
6761
                    break;
6762
                case TOOL_HOTPOTATOES:
6763
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6764
                    $return .= $this->display_hotpotatoes_form('edit', $item_id, $row);
@@ 8946-8949 (lines=4) @@
8943
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8944
                    $return .= $this->display_link_form('move', $item_id, $row);
8945
                    break;
8946
                case TOOL_QUIZ:
8947
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8948
                    $return .= $this->display_quiz_form('move', $item_id, $row);
8949
                    break;
8950
                case TOOL_STUDENTPUBLICATION:
8951
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8952
                    $return .= $this->display_student_publication_form('move', $item_id, $row);