Code Duplication    Length = 4-4 lines in 2 locations

main/lp/learnpath.class.php 2 locations

@@ 8986-8989 (lines=4) @@
8983
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8984
                    $return .= $this->display_document_form('move', $item_id, $row);
8985
                    break;
8986
                case TOOL_LINK:
8987
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8988
                    $return .= $this->display_link_form('move', $item_id, $row);
8989
                    break;
8990
                case TOOL_HOTPOTATOES:
8991
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8992
                    $return .= $this->display_link_form('move', $item_id, $row);
@@ 8990-8993 (lines=4) @@
8987
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8988
                    $return .= $this->display_link_form('move', $item_id, $row);
8989
                    break;
8990
                case TOOL_HOTPOTATOES:
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);