diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-02-18 13:27:52 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-02-18 13:27:52 +0000 |
commit | 4a774189098f89e4f24a4ff11f6f95d1f049b6a5 (patch) | |
tree | 436243c353e65f6224df6025ef88c711b061dd55 /Source/TableDump.m | |
parent | 1bde8b65c0213bcf0514c69f1b8b70a00971b573 (diff) | |
download | sequelpro-4a774189098f89e4f24a4ff11f6f95d1f049b6a5.tar.gz sequelpro-4a774189098f89e4f24a4ff11f6f95d1f049b6a5.tar.bz2 sequelpro-4a774189098f89e4f24a4ff11f6f95d1f049b6a5.zip |
• CSV Import Field Mapper
- fixed bug, detect if csvimportarray contains global vars correctly
Diffstat (limited to 'Source/TableDump.m')
-rw-r--r-- | Source/TableDump.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TableDump.m b/Source/TableDump.m index b1cbbda8..077b7f4f 100644 --- a/Source/TableDump.m +++ b/Source/TableDump.m @@ -1185,7 +1185,7 @@ fieldMappingTableColumnNames = [NSArray arrayWithArray:[fieldMapperController fieldMappingTableColumnNames]]; fieldMappingGlobalValueArray = [[NSArray arrayWithArray:[fieldMapperController fieldMappingGlobalValueArray]] retain]; - if([fieldMappingGlobalValueArray count] > [fieldMappingArray count]) + if([fieldMappingImportArray count] && [fieldMappingGlobalValueArray count] > [NSArrayObjectAtIndex(fieldMappingImportArray,0) count]) fieldMappingArrayHasGlobalVariables = YES; [importFieldNamesSwitch setState:[fieldMapperController importFieldNamesHeader]]; |