Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

@@ 6333-6336 (lines=4) @@
6330
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6331
                    $return .= $this->display_forum_form('edit', $item_id, $row);
6332
                    break;
6333
                case TOOL_THREAD :
6334
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6335
                    $return .= $this->display_thread_form('edit', $item_id, $row);
6336
                    break;
6337
            }
6338
        }
6339
@@ 8391-8394 (lines=4) @@
8388
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8389
                    $return .= $this->display_forum_form('move', $item_id, $row);
8390
                    break;
8391
                case TOOL_THREAD :
8392
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8393
                    $return .= $this->display_forum_form('move', $item_id, $row);
8394
                    break;
8395
            }
8396
        }
8397