Don't try to go into a null entry

This commit is contained in:
Nathan Gray 2012-03-13 16:19:22 +00:00
parent 3ecb7a4eec
commit 7d781a56a4

View File

@ -171,7 +171,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)
if (!isObject && !_referenceInto || entry == null)
{
return null;
}