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

This commit is contained in:
Alan Rogers authored and Ross Boucher committed 2010-03-22 14:52:55 -07:00
1 parent c8f3445fa6
commit 4e1e6f3c0b
1 file changed
+1 -1
+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];