Code Duplication    Length = 3-3 lines in 5 locations

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

@@ 845-847 (lines=3) @@
842
              if (!isset($search_feedback[$result->user_guid])) {
843
                  $search_feedback[$result->user_guid] = '';
844
              }
845
              if (in_array('education', $reasons)) {
846
                  $search_feedback[$result->user_guid] .= elgg_echo('missions:school_name') . ': ' . $reason_values['education'] . ',';
847
              }
848
              if (in_array('experience', $reasons)) {
849
                  $search_feedback[$result->user_guid] .= elgg_echo('missions:job_title') . ': ' . $reason_values['experience'] . ',';
850
              }
@@ 848-850 (lines=3) @@
845
              if (in_array('education', $reasons)) {
846
                  $search_feedback[$result->user_guid] .= elgg_echo('missions:school_name') . ': ' . $reason_values['education'] . ',';
847
              }
848
              if (in_array('experience', $reasons)) {
849
                  $search_feedback[$result->user_guid] .= elgg_echo('missions:job_title') . ': ' . $reason_values['experience'] . ',';
850
              }
851
              if (in_array('MySkill', $reasons)) {
852
                  $search_feedback[$result->user_guid] .= elgg_echo('missions:skill') . ': ' . $reason_values['MySkill'] . ',';
853
              }
@@ 851-853 (lines=3) @@
848
              if (in_array('experience', $reasons)) {
849
                  $search_feedback[$result->user_guid] .= elgg_echo('missions:job_title') . ': ' . $reason_values['experience'] . ',';
850
              }
851
              if (in_array('MySkill', $reasons)) {
852
                  $search_feedback[$result->user_guid] .= elgg_echo('missions:skill') . ': ' . $reason_values['MySkill'] . ',';
853
              }
854
              if (in_array('portfolio', $reasons)) {
855
                  $search_feedback[$result->user_guid] .= elgg_echo('missions:portfolio') . ': ' . $reason_values['portfolio'] . ',';
856
              }
@@ 854-856 (lines=3) @@
851
              if (in_array('MySkill', $reasons)) {
852
                  $search_feedback[$result->user_guid] .= elgg_echo('missions:skill') . ': ' . $reason_values['MySkill'] . ',';
853
              }
854
              if (in_array('portfolio', $reasons)) {
855
                  $search_feedback[$result->user_guid] .= elgg_echo('missions:portfolio') . ': ' . $reason_values['portfolio'] . ',';
856
              }
857
              if (in_array('name', $reasons)) {
858
                  $search_feedback[$result->user_guid] .= elgg_echo('missions:name') . ': ' . $reason_values['name'] . ',';
859
              }
@@ 860-862 (lines=3) @@
857
              if (in_array('name', $reasons)) {
858
                  $search_feedback[$result->user_guid] .= elgg_echo('missions:name') . ': ' . $reason_values['name'] . ',';
859
              }
860
              if (in_array('contactemail', $reasons)) {
861
                  $search_feedback[$result->user_guid] .= elgg_echo('missions:email') . ': ' . $reason_values['contactemail'] . ',';
862
              }
863
          }
864
865
          $pairs = array();