mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
Use null instead of blank
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
9bba0b764a
commit
305cd9b0b8
|
@ -103,8 +103,8 @@ class ActionlogsTransformer
|
|||
|
||||
// Display the changes if the user is an admin or superadmin
|
||||
if (Gate::allows('admin')) {
|
||||
$clean_meta[$fieldname]['old'] = ($enc_old) ? unserialize($enc_old): '(blank)';
|
||||
$clean_meta[$fieldname]['new'] = ($enc_new) ? unserialize($enc_new): '(blank)';
|
||||
$clean_meta[$fieldname]['old'] = ($enc_old) ? unserialize($enc_old): 'null';
|
||||
$clean_meta[$fieldname]['new'] = ($enc_new) ? unserialize($enc_new): 'null';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue