aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-03-23 08:57:01 +0000
committerBibiko <bibiko@eva.mpg.de>2010-03-23 08:57:01 +0000
commite47a76c457528fb2ef9fb20cf0f02d09a488a8a8 (patch)
tree0b2903fa892859d98ccfd93730b65ea8d8b815f3
parentfa32739de8f7ea821ee83ec2e5c7f51f5eb3e0c0 (diff)
downloadsequelpro-e47a76c457528fb2ef9fb20cf0f02d09a488a8a8.tar.gz
sequelpro-e47a76c457528fb2ef9fb20cf0f02d09a488a8a8.tar.bz2
sequelpro-e47a76c457528fb2ef9fb20cf0f02d09a488a8a8.zip
• fixed issue for new data representation of the key @"default" in [ informationForView:] since it can be [NSNull null]
-rw-r--r--Source/SPTableData.m2
1 files changed, 1 insertions, 1 deletions
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]];