mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
removed dead space
This commit is contained in:
parent
1019287c76
commit
92ddf8fc67
|
@ -55,7 +55,6 @@ class ActionlogsTransformer
|
||||||
if ($meta_array) {
|
if ($meta_array) {
|
||||||
foreach ($meta_array as $fieldname => $fieldata) {
|
foreach ($meta_array as $fieldname => $fieldata) {
|
||||||
if( str_starts_with($fieldname, '_snipeit_')){
|
if( str_starts_with($fieldname, '_snipeit_')){
|
||||||
|
|
||||||
if( $custom_field->where('db_column', '=', $fieldname)->where('field_encrypted', true)){
|
if( $custom_field->where('db_column', '=', $fieldname)->where('field_encrypted', true)){
|
||||||
$clean_meta[$fieldname]['old'] = "encrypted";
|
$clean_meta[$fieldname]['old'] = "encrypted";
|
||||||
$clean_meta[$fieldname]['new'] = "encrypted";
|
$clean_meta[$fieldname]['new'] = "encrypted";
|
||||||
|
@ -65,7 +64,6 @@ class ActionlogsTransformer
|
||||||
$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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
$clean_meta = $this->changedInfo($clean_meta);
|
$clean_meta = $this->changedInfo($clean_meta);
|
||||||
}
|
}
|
||||||
|
@ -132,7 +130,6 @@ class ActionlogsTransformer
|
||||||
'action_date' => ($actionlog->action_date) ? Helper::getFormattedDateObject($actionlog->action_date, 'datetime'): Helper::getFormattedDateObject($actionlog->created_at, 'datetime'),
|
'action_date' => ($actionlog->action_date) ? Helper::getFormattedDateObject($actionlog->action_date, 'datetime'): Helper::getFormattedDateObject($actionlog->created_at, 'datetime'),
|
||||||
];
|
];
|
||||||
// \Log::info("Clean Meta is: ".print_r($clean_meta,true));
|
// \Log::info("Clean Meta is: ".print_r($clean_meta,true));
|
||||||
|
|
||||||
//dd($array);
|
//dd($array);
|
||||||
return $array;
|
return $array;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue