Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

@@ 6338-6341 (lines=4) @@
6335
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6336
                    $return .= $this->display_forum_form('edit', $item_id, $row);
6337
                    break;
6338
                case TOOL_THREAD :
6339
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6340
                    $return .= $this->display_thread_form('edit', $item_id, $row);
6341
                    break;
6342
            }
6343
        }
6344
@@ 8399-8402 (lines=4) @@
8396
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8397
                    $return .= $this->display_forum_form('move', $item_id, $row);
8398
                    break;
8399
                case TOOL_THREAD :
8400
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8401
                    $return .= $this->display_forum_form('move', $item_id, $row);
8402
                    break;
8403
            }
8404
        }
8405