aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-10-16 12:30:38 +0000
committerBibiko <bibiko@eva.mpg.de>2009-10-16 12:30:38 +0000
commit507d0089c6bb73a01129f1e356d1e88ca53afb55 (patch)
tree9b892fb51823de5e7381d70e2330392a418e0f06 /Source/CustomQuery.m
parenta57daba74182b3123c47b44996680efd399a471d (diff)
downloadsequelpro-507d0089c6bb73a01129f1e356d1e88ca53afb55.tar.gz
sequelpro-507d0089c6bb73a01129f1e356d1e88ca53afb55.tar.bz2
sequelpro-507d0089c6bb73a01129f1e356d1e88ca53afb55.zip
• fixed three further typos for: objectForKey:@"NullValue"
• allow to enter the NULL value string even if the cell/field's maximal length is set to less then the actual NULL value string length (eg varchar(3) and NULL value string is @"NULL")
Diffstat (limited to 'Source/CustomQuery.m')
-rw-r--r--Source/CustomQuery.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index 0589ab6f..323a9078 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -1643,7 +1643,7 @@
[fieldEditor setTextMaxLength:[[columnDefinition valueForKey:@"char_length"] intValue]];
id originalData = [[fullResult objectAtIndex:rowIndex] objectAtIndex:[[aTableColumn identifier] intValue]];
- if ([originalData isNSNull]) originalData = [prefs objectForKey:@"nullValue"];
+ if ([originalData isNSNull]) originalData = [prefs objectForKey:@"NullValue"];
id editData = [[fieldEditor editWithObject:originalData
fieldName:[columnDefinition objectForKey:@"name"]