mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-24 08:17:57 -04:00
Update BaseImporter.cs (#1146)
This commit is contained in:
committed by
Leendert de Borst
parent
bf1a235dd2
commit
70ed03e1b3
@@ -99,7 +99,7 @@ public static class BaseImporter
|
||||
/// <param name="customDecoder">Optional custom decoder function for importer-specific decoding.</param>
|
||||
private static void DecodeFields<T>(T record, Func<string, string>? customDecoder = null)
|
||||
{
|
||||
if (record.Equals(default(T))) {
|
||||
if (record?.Equals(default(T)) ?? true) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user