Code Duplication    Length = 4-4 lines in 2 locations

main/lp/learnpath.class.php 2 locations

@@ 6814-6817 (lines=4) @@
6811
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6812
                    $return .= $this->display_hotpotatoes_form('edit', $item_id, $row);
6813
                    break;
6814
                case TOOL_STUDENTPUBLICATION:
6815
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6816
                    $return .= $this->display_student_publication_form('edit', $item_id, $row);
6817
                    break;
6818
                case TOOL_FORUM:
6819
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6820
                    $return .= $this->display_forum_form('edit', $item_id, $row);
@@ 8998-9001 (lines=4) @@
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);
9001
                    break;
9002
                case TOOL_FORUM:
9003
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
9004
                    $return .= $this->display_forum_form('move', $item_id, $row);