Code Duplication    Length = 9-9 lines in 2 locations

application/modules/menu/admin.php 2 locations

@@ 187-195 (lines=9) @@
184
                showMessage(validation_errors(), '', 'r');
185
            } else {
186
187
                if ($this->input->post('page_hidden')) {
188
                    $hidden = $this->input->post('page_hidden');
189
                } elseif ($this->input->post('cat_hidden')) {
190
                    $hidden = $this->input->post('cat_hidden');
191
                } elseif ($this->input->post('module_hidden')) {
192
                    $hidden = $this->input->post('module_hidden');
193
                } elseif ($this->input->post('url_hidden')) {
194
                    $hidden = $this->input->post('url_hidden');
195
                }
196
197
                if ($this->input->post('page_item_image')) {
198
                    $image = $this->input->post('page_item_image');
@@ 574-582 (lines=9) @@
571
                showMessage(validation_errors(), '', 'r');
572
            } else {
573
574
                if ($this->input->post('page_hidden')) {
575
                    $hidden = $this->input->post('page_hidden');
576
                } elseif ($this->input->post('cat_hidden')) {
577
                    $hidden = $this->input->post('cat_hidden');
578
                } elseif ($this->input->post('module_hidden')) {
579
                    $hidden = $this->input->post('module_hidden');
580
                } elseif ($this->input->post('url_hidden')) {
581
                    $hidden = $this->input->post('url_hidden');
582
                }
583
                if ($this->input->post('page_item_image')) {
584
                    $image = $this->input->post('page_item_image');
585
                } elseif ($this->input->post('cat_item_image')) {