Little fix for CPDictionary, we should not try and recursively convert null JSON objects.

This commit is contained in:
Alan Rogers
2010-03-28 15:04:41 -07:00
committed by Francisco Ryan Tolmasky I
parent d5dcedcb4a
commit 564399c78b
+1 -1
View File
@@ -154,7 +154,7 @@
var value = object[key];
if (recursively)
if (recursively && value != null)
{
if (value.constructor === Object)
value = [CPDictionary dictionaryWithJSObject:value recursively:YES];