Code Duplication    Length = 4-4 lines in 2 locations

main/lp/learnpath.class.php 2 locations

@@ 6806-6809 (lines=4) @@
6803
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6804
                    $return .= $this->display_document_form('edit', $item_id, $row_step);
6805
                    break;
6806
                case TOOL_QUIZ:
6807
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6808
                    $return .= $this->display_quiz_form('edit', $item_id, $row);
6809
                    break;
6810
                case TOOL_HOTPOTATOES:
6811
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6812
                    $return .= $this->display_hotpotatoes_form('edit', $item_id, $row);
@@ 8994-8997 (lines=4) @@
8991
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8992
                    $return .= $this->display_link_form('move', $item_id, $row);
8993
                    break;
8994
                case TOOL_QUIZ:
8995
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8996
                    $return .= $this->display_quiz_form('move', $item_id, $row);
8997
                    break;
8998
                case TOOL_STUDENTPUBLICATION:
8999
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
9000
                    $return .= $this->display_student_publication_form('move', $item_id, $row);