diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/icedteanp/IcedTeaScriptablePluginObject.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/icedteanp/IcedTeaScriptablePluginObject.cc b/plugin/icedteanp/IcedTeaScriptablePluginObject.cc index 416cde6..02c7c25 100644 --- a/plugin/icedteanp/IcedTeaScriptablePluginObject.cc +++ b/plugin/icedteanp/IcedTeaScriptablePluginObject.cc @@ -474,7 +474,7 @@ IcedTeaScriptableJavaObject::hasMethod(NPObject *npobj, NPIdentifier name_id) bool hasMethod = false; // If object is an array and requested "method" may be a number, check for it first - if ( scriptable_object->is_object_array || + if ( !scriptable_object->is_object_array || (browser_functions.intfromidentifier(name_id) < 0)) { |