Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

@@ 6330-6333 (lines=4) @@
6327
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6328
                    $return .= $this->display_hotpotatoes_form('edit', $item_id, $row);
6329
                    break;
6330
                case TOOL_STUDENTPUBLICATION :
6331
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6332
                    $return .= $this->display_student_publication_form('edit', $item_id, $row);
6333
                    break;
6334
                case TOOL_FORUM :
6335
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6336
                    $return .= $this->display_forum_form('edit', $item_id, $row);
@@ 8391-8394 (lines=4) @@
8388
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8389
                    $return .= $this->display_quiz_form('move', $item_id, $row);
8390
                    break;
8391
                case TOOL_STUDENTPUBLICATION :
8392
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8393
                    $return .= $this->display_student_publication_form('move', $item_id, $row);
8394
                    break;
8395
                case TOOL_FORUM :
8396
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8397
                    $return .= $this->display_forum_form('move', $item_id, $row);