Code Duplication    Length = 6-6 lines in 3 locations

mod/missions/lib/missions-searching.php 3 locations

@@ 624-629 (lines=6) @@
621
                $extra_option = 'MySkill';
622
                break;
623
624
            case elgg_echo('missions:experience'):
625
                $name_option = 'title';
626
                $operand_option = 'LIKE';
627
                $value_option = '%' . $array[$form_name.'_'.$place.'_element_value'] . '%';
628
                $extra_option = 'experience';
629
                break;
630
631
            case elgg_echo('missions:education'):
632
                $name_option = 'title';
@@ 631-636 (lines=6) @@
628
                $extra_option = 'experience';
629
                break;
630
631
            case elgg_echo('missions:education'):
632
                $name_option = 'title';
633
                $operand_option = 'LIKE';
634
                $value_option = '%' . $array[$form_name.'_'.$place.'_element_value'] . '%';
635
                $extra_option = 'education';
636
                break;
637
638
            case elgg_echo('missions:portfolio'):
639
                $name_option = 'title';
@@ 638-643 (lines=6) @@
635
                $extra_option = 'education';
636
                break;
637
638
            case elgg_echo('missions:portfolio'):
639
                $name_option = 'title';
640
                $operand_option = 'LIKE';
641
                $value_option = '%' . $array[$form_name.'_'.$place.'_element_value'] . '%';
642
                $extra_option = 'portfolio';
643
                break;
644
645
            case elgg_echo('missions:work_remotely'):
646
                $name_option = 'remotely';