From a316ba498cf3300d05c8c2ba3223fa2c625d1717 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Wed, 27 May 2009 22:32:27 +0000 Subject: Forgot to add !, removed for testing. --- Source/SPDatabaseData.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source') 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 { -- cgit v1.2.3