We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a13abb8 commit 2a10f56Copy full SHA for 2a10f56
src/js/Core/EwsUtilities.ts
@@ -631,8 +631,8 @@ export class EwsUtilities {
631
*/
632
static ValidateParamAllowNull(param: any, paramName: string): void {
633
var selfValidate: ISelfValidate = param;
634
-
635
- if (selfValidate.Validate && false) {//todo: interface detection for ISelfValidate
+ // look for null/undefined
+ if (false && selfValidate && selfValidate.Validate) {//todo: interface detection for ISelfValidate
636
try {
637
selfValidate.Validate();
638
}
0 commit comments