diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPDatabaseData.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPDatabaseData.m b/Source/SPDatabaseData.m index 52893233..a07ca5bc 100644 --- a/Source/SPDatabaseData.m +++ b/Source/SPDatabaseData.m @@ -158,7 +158,7 @@ CMMCPResult *result = [connection queryString:query]; // Log any errors - if ([[connection getLastErrorMessage] isEqualToString:@""]) { + if (![[connection getLastErrorMessage] isEqualToString:@""]) { NSLog(@"Error executing query in %@. MySQL said: %@", [self className], [connection getLastErrorMessage]); } else { |