Merge branch 'fix_bad_metadata_display' into retry_fix_bad_metadata_display

This commit is contained in:
Brady Wetherington 2022-03-03 15:46:19 -08:00
commit aa36ebc947

View file

@ -40,8 +40,8 @@ class ActionlogsTransformer
if ($meta_array) { if ($meta_array) {
foreach ($meta_array as $fieldname => $fieldata) { foreach ($meta_array as $fieldname => $fieldata) {
$clean_meta[$fieldname]['old'] = $this->clean_field($fieldata['old']); $clean_meta[$fieldname]['old'] = $this->clean_field($fieldata->old);
$clean_meta[$fieldname]['new'] = $this->clean_field($fieldata['new']); $clean_meta[$fieldname]['new'] = $this->clean_field($fieldata->new);
} }
} }