Fix FinalIndex database query when no client is available
This commit is contained in:
parent
f7e9c881f1
commit
c0115d833d
@ -3978,12 +3978,7 @@ Public Class frmValidator
|
||||
ItemWorked = False
|
||||
End If
|
||||
If Not IsNothing(oSQLCommand) Then
|
||||
Dim oDBResult = DatabaseFallback.GetScalarValueWithConnection(oSQLCommand, oConnectionID)
|
||||
Dim oResultfromSQL As Object = ""
|
||||
If oDBResult.OK Then
|
||||
oResultfromSQL = oDBResult.Scalar
|
||||
End If
|
||||
|
||||
Dim oResultfromSQL As Object = DatabaseFallback.GetScalarValueWithConnection(oSQLCommand, oConnectionID)
|
||||
If Not IsNothing(oResultfromSQL) Then
|
||||
LOGGER.Debug($"oResultfromSQL is [{oResultfromSQL.ToString}]")
|
||||
If IsDBNull(oResultfromSQL) Then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user