Bugfixes 2.4.0.9

This commit is contained in:
Jonathan Jenne
2021-07-07 15:40:44 +02:00
parent b32fd431be
commit 03ab1f00c5
9 changed files with 171 additions and 124 deletions

View File

@@ -154,17 +154,14 @@ Public Class ClassFilehandle
Try
filename = filename.Replace("'", "''")
Dim oHash As String
Dim oHash As String = String.Empty
If File.Exists(filename) Then
Try
If filename.ToUpper.EndsWith(".MSG") And (handleType = "|OUTLOOK_MESSAGE|" Or handleType = "|MSGONLY|") Then
oHash = FILESYSTEM.GetChecksumFromString(filename)
Else
oHash = FILESYSTEM.GetChecksum(filename)
Catch ex As Exception
LOGGER.Error(ex)
oHash = String.Empty
End Try
Else
oHash = String.Empty
End If
End If
Dim filename_only As String = Path.GetFileName(filename)