From e47a76c457528fb2ef9fb20cf0f02d09a488a8a8 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 23 Mar 2010 08:57:01 +0000 Subject: =?UTF-8?q?=E2=80=A2=20fixed=20issue=20for=20new=20data=20represen?= =?UTF-8?q?tation=20of=20the=20key=20@"default"=20in=20[=20informationForV?= =?UTF-8?q?iew:]=20since=20it=20can=20be=20[NSNull=20null]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPTableData.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source') diff --git a/Source/SPTableData.m b/Source/SPTableData.m index 698270fe..16f714c9 100644 --- a/Source/SPTableData.m +++ b/Source/SPTableData.m @@ -750,7 +750,7 @@ // Select the column default if available if ([resultRow objectForKey:@"Default"]) - [tableColumn setObject:[NSString stringWithString:[resultRow objectForKey:@"Default"]] forKey:@"default"]; + [tableColumn setObject:[resultRow objectForKey:@"Default"] forKey:@"default"]; // Add the column to the list [tableColumns addObject:[NSDictionary dictionaryWithDictionary:tableColumn]]; -- cgit v1.2.3