Page 1 of 1

iPhone API InviteUsersRequest.m bug

Posted: 02 Aug 2011, 19:39
by mmilen
The initializer Class method below has a bug. It calls the instance initializer with params:nil while it should be with params:params.


+(id)requestWithInvitedUsers:(NSArray *)invitedUsers secondsForAnswer:(NSInteger)secondsForAnswer params:(id <ISFSObject>)params {
InviteUsersRequest *req = [[InviteUsersRequest alloc] initWithInvitedUsers:invitedUsers secondsForAnswer:secondsForAnswer params:nil];
return [req autorelease];
}

Posted: 04 Aug 2011, 07:20
by Lapo
Thanks for reporting!