diff --git a/modules/conflict_resolver/php/conflict_resolver.class.inc b/modules/conflict_resolver/php/conflict_resolver.class.inc index c1c04af41df..13f0997b321 100644 --- a/modules/conflict_resolver/php/conflict_resolver.class.inc +++ b/modules/conflict_resolver/php/conflict_resolver.class.inc @@ -406,8 +406,12 @@ class Conflict_Resolver extends \NDB_Menu_Filter_Form $unanonymized = parent::toArray(); $data = array(); + $value1Index = array_search('Value1', $unanonymized['Headers']); + $value2Index = array_search('Value2', $unanonymized['Headers']); foreach ($unanonymized['Data'] as &$row) { - $data[] = $row; + $row[$value1Index] = str_replace('{@}', ', ', $row[$value1Index]); + $row[$value2Index] = str_replace('{@}', ', ', $row[$value2Index]); + $data[] = $row; } return array( 'Headers' => $unanonymized['Headers'], diff --git a/modules/conflict_resolver/php/resolved_conflicts.class.inc b/modules/conflict_resolver/php/resolved_conflicts.class.inc index cfbefbcf48b..f03c812ef60 100644 --- a/modules/conflict_resolver/php/resolved_conflicts.class.inc +++ b/modules/conflict_resolver/php/resolved_conflicts.class.inc @@ -252,7 +252,16 @@ class Resolved_Conflicts extends \NDB_Menu_Filter $unanonymized = parent::toArray(); $data = array(); + $correctAnswerIndex = array_search( + 'Correct Answer', + $unanonymized['Headers'] + ); foreach ($unanonymized['Data'] as &$row) { + $row[$correctAnswerIndex] = str_replace( + '{@}', + ', ', + $row[$correctAnswerIndex] + ); $data[] = $row; } return array(