Code Duplication    Length = 4-4 lines in 2 locations

main/lp/learnpath.class.php 2 locations

@@ 6774-6777 (lines=4) @@
6771
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6772
                    $return .= $this->display_forum_form('edit', $item_id, $row);
6773
                    break;
6774
                case TOOL_THREAD:
6775
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6776
                    $return .= $this->display_thread_form('edit', $item_id, $row);
6777
                    break;
6778
            }
6779
        }
6780
@@ 8958-8961 (lines=4) @@
8955
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8956
                    $return .= $this->display_forum_form('move', $item_id, $row);
8957
                    break;
8958
                case TOOL_THREAD:
8959
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8960
                    $return .= $this->display_forum_form('move', $item_id, $row);
8961
                    break;
8962
            }
8963
        }
8964