Skip to content

Commit 2a10f56

Browse files
committed
fixes bug #19
1 parent a13abb8 commit 2a10f56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/Core/EwsUtilities.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,8 +631,8 @@ export class EwsUtilities {
631631
*/
632632
static ValidateParamAllowNull(param: any, paramName: string): void {
633633
var selfValidate: ISelfValidate = param;
634-
635-
if (selfValidate.Validate && false) {//todo: interface detection for ISelfValidate
634+
// look for null/undefined
635+
if (false && selfValidate && selfValidate.Validate) {//todo: interface detection for ISelfValidate
636636
try {
637637
selfValidate.Validate();
638638
}

0 commit comments

Comments
 (0)