Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make sure to check for NSNull instead of nil

  • Loading branch information...
commit bb35717b3b3ba45fc14d0fb213cd206324f718fe 1 parent 82a4042
Jeff Haynie jhaynie authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  iphone/modules/FacebookModule/FacebookModule.m
2  iphone/modules/FacebookModule/FacebookModule.m
View
@@ -484,7 +484,7 @@ - (void)setup:(NSString*)key secret:(NSString*)secret proxy:(NSString*)proxy
dialog = nil;
[session release];
- if (proxy!=nil)
+ if ([proxy isKindOfClass:[NSString class]])
{
session = [[FBSession sessionForApplication:key getSessionProxy:proxy delegate:self] retain];
}
Please sign in to comment.
Something went wrong with that request. Please try again.