Use null instead of blank

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-10-26 14:42:49 +01:00
parent 9bba0b764a
commit 305cd9b0b8

View file

@ -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';
}
}