Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timob-5855: iOS- Fix emailDialog crash. #3060

Merged
merged 2 commits into from Oct 2, 2012

Conversation

hieupham007
Copy link
Contributor

@@ -56,7 +56,8 @@ - (id)isSupported:(id)args
- (void)open:(id)args
{
[self rememberSelf];
ENSURE_TYPE_OR_NIL(args,NSDictionary);
NSObject* properties = [args objectAtIndex:0];
ENSURE_TYPE_OR_NIL(properties, NSDictionary);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NSDictionary* properties = nil
ENSURE_ARG_OR_NIL_AT_INDEX(properties,args,0,NSDictionary);

If you do this the cast below is not required

@hieupham007
Copy link
Contributor Author

Code updated. Please re-review

@ghost ghost assigned vishalduggal Oct 1, 2012
@vishalduggal
Copy link
Contributor

Code Reviewed and functionally tested. APPROVED

vishalduggal added a commit that referenced this pull request Oct 2, 2012
timob-5855: iOS- Fix emailDialog crash.
@vishalduggal vishalduggal merged commit 890f945 into tidev:master Oct 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants