Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed fetchPlacesFromContent documentType

  • Loading branch information...
commit d8c4f88bc033ceaea5035db259aa80005633932c 1 parent 682703a
@zachgraves zachgraves authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Source/YOSSocial/YOSUserRequest.m
View
2  Source/YOSSocial/YOSUserRequest.m
@@ -215,7 +215,7 @@ - (BOOL)fetchConnectionProfilesWithStart:(NSInteger)start andCount:(NSInteger)co
- (BOOL)fetchPlacesFromContent:(NSString *)documentContent andDocumentType:(NSString *)documentType withDelegate:(id)delegate
{
- documentContent = (documentContent) ? documentContent : @"text/plain";
+ documentType = (documentType) ? documentType : @"text/plain";
return [self query:[NSString stringWithFormat:@"select * from geo.placemaker where documentContent=\"%@\" and documentType=\"%@\"", documentContent, documentType]
withDelegate:delegate];
}
Please sign in to comment.
Something went wrong with that request. Please try again.