Code Duplication    Length = 4-4 lines in 2 locations

main/lp/learnpath.class.php 2 locations

@@ 8938-8941 (lines=4) @@
8935
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8936
                    $return .= $this->display_document_form('move', $item_id, $row);
8937
                    break;
8938
                case TOOL_LINK:
8939
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8940
                    $return .= $this->display_link_form('move', $item_id, $row);
8941
                    break;
8942
                case TOOL_HOTPOTATOES:
8943
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8944
                    $return .= $this->display_link_form('move', $item_id, $row);
@@ 8942-8945 (lines=4) @@
8939
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8940
                    $return .= $this->display_link_form('move', $item_id, $row);
8941
                    break;
8942
                case TOOL_HOTPOTATOES:
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);