Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

@@ 6361-6364 (lines=4) @@
6358
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6359
                    $return .= $this->display_forum_form('edit', $item_id, $row);
6360
                    break;
6361
                case TOOL_THREAD :
6362
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6363
                    $return .= $this->display_thread_form('edit', $item_id, $row);
6364
                    break;
6365
            }
6366
        }
6367
@@ 8479-8482 (lines=4) @@
8476
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8477
                    $return .= $this->display_forum_form('move', $item_id, $row);
8478
                    break;
8479
                case TOOL_THREAD :
8480
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8481
                    $return .= $this->display_forum_form('move', $item_id, $row);
8482
                    break;
8483
            }
8484
        }
8485