From b4b81b2dd07674b7dc3208e3b79690f66b1bf113 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Tue, 14 Jun 2011 00:19:01 +0000 Subject: - Fix "Multiple selection" still being displayed after multiple tables are deleted - If multiple tables are selected when opening the SPFieldMapperController select the first to import into - Clean up tableName in tablesList - now returns nil if no tables are selected or multiple tables are selected, instead of returning an empty string for multiple tables --- Source/SPTableData.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/SPTableData.m') diff --git a/Source/SPTableData.m b/Source/SPTableData.m index de253e57..1936d0b1 100644 --- a/Source/SPTableData.m +++ b/Source/SPTableData.m @@ -928,7 +928,7 @@ BOOL changeEncoding = ![[mySQLConnection encoding] isEqualToString:@"utf8"]; // Catch unselected tables and return false - if ([[tableListInstance tableName] isEqualToString:@""] || ![tableListInstance tableName]) { + if (![tableListInstance tableName]) { pthread_mutex_unlock(&dataProcessingLock); return FALSE; } -- cgit v1.2.3