* Sync up to trunk head (r64377).
[reactos.git] / dll / win32 / jscript / dispex.c
index d99a236..e8416a6 100644 (file)
@@ -1195,7 +1195,7 @@ HRESULT disp_call_value(script_ctx_t *ctx, IDispatch *disp, IDispatch *jsthis, W
         return hres;
     }
 
-    if(r && argc)
+    if(r && argc && flags == DISPATCH_METHOD)
         flags |= DISPATCH_PROPERTYGET;
 
     hres = IDispatch_QueryInterface(disp, &IID_IDispatchEx, (void**)&dispex);