Common/DocumentResultList: Check for service object
This commit is contained in:
parent
ba86abecde
commit
45dad1bf0a
@ -127,7 +127,7 @@ Public Class frmDocumentResultList
|
||||
Private Function GetOperationMode() As OperationMode
|
||||
Dim oOperationMode As OperationMode
|
||||
|
||||
If Environment.Service.Client.IsOnline AndAlso Environment.Service.Address <> String.Empty Then
|
||||
If Environment.Service IsNot Nothing AndAlso Environment.Service.Client.IsOnline AndAlso Environment.Service.Address <> String.Empty Then
|
||||
oOperationMode = OperationMode.WithAppServer
|
||||
Else
|
||||
oOperationMode = OperationMode.NoAppServer
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user