mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 22:37:28 -08:00
retarget key
This commit is contained in:
parent
9e438c3ed0
commit
1019287c76
|
@ -56,7 +56,7 @@ class ActionlogsTransformer
|
||||||
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('name', '=', $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";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue