mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Avoid accidental matches on native object functions (filter, map, etc.)
This commit is contained in:
parent
09ac4244cb
commit
b240e9eea5
@ -172,7 +172,7 @@ var et2_arrayMgr = Class.extend({
|
||||
// Abort if the current entry is not an object (associative array) and
|
||||
// we should descend further into it.
|
||||
var isObject = typeof entry === 'object';
|
||||
if (!isObject && !_referenceInto || entry == null)
|
||||
if (!isObject && !_referenceInto || entry == null || jQuery.isEmptyObject(entry))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user