Fix for the weird error that blew up the demo when my PR got merged

This commit is contained in:
Brady Wetherington 2022-03-02 15:15:16 -08:00
parent 290baf1c8d
commit 0164354463

View file

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