Code Duplication    Length = 4-4 lines in 2 locations

main/lp/learnpath.class.php 2 locations

@@ 6822-6825 (lines=4) @@
6819
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6820
                    $return .= $this->display_forum_form('edit', $item_id, $row);
6821
                    break;
6822
                case TOOL_THREAD:
6823
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6824
                    $return .= $this->display_thread_form('edit', $item_id, $row);
6825
                    break;
6826
            }
6827
        }
6828
@@ 9006-9009 (lines=4) @@
9003
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
9004
                    $return .= $this->display_forum_form('move', $item_id, $row);
9005
                    break;
9006
                case TOOL_THREAD:
9007
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
9008
                    $return .= $this->display_forum_form('move', $item_id, $row);
9009
                    break;
9010
            }
9011
        }
9012