Skip to content

Commit 9853907

Browse files
committed
Fix:ACI0105045 (deuze)
1 parent a0a7613 commit 9853907

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Project/Sources/Classes/OAuth2Provider.4dm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@ The application secret that you created in the app registration portal for your
7070
/*
7171
Any valid existing token
7272
*/
73-
If (Value type($inParams.token.token)=Is object)
73+
If ((Value type($inParams.token)=Is object) && (Value type($inParams.token.token)=Is object))
7474
This.token:=$inParams.token.token
7575
Else
7676
This.token:=Choose(Value type($inParams.token)=Is object; $inParams.token; Null)
7777
End if
7878

7979
/*
8080
*/
81-
If (Value type($inParams.token.tokenExpiration)=Is text)
81+
If ((Value type($inParams.token)=Is object) && (Value type($inParams.token.tokenExpiration)=Is text))
8282
This.tokenExpiration:=$inParams.token.tokenExpiration
8383
Else
8484
This.tokenExpiration:=Choose(Value type($inParams.tokenExpiration)=Is text; $inParams.tokenExpiration; Null)

0 commit comments

Comments
 (0)