Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

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