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
@@ 8423-8426 (lines=4) @@
8420
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8421
                    $return .= $this->display_forum_form('move', $item_id, $row);
8422
                    break;
8423
                case TOOL_THREAD :
8424
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8425
                    $return .= $this->display_forum_form('move', $item_id, $row);
8426
                    break;
8427
            }
8428
        }
8429