|
@@ -2967,12 +2967,11 @@ commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:
|
|
|
if (resultStatus != RESULT_TRUE && resultStatus != RESULT_NO_EMAIL_ADDRESS) {
|
|
if (resultStatus != RESULT_TRUE && resultStatus != RESULT_NO_EMAIL_ADDRESS) {
|
|
|
|
|
|
|
|
NSString *msg = [NSString stringWithFormat:@"The email send failed"];
|
|
NSString *msg = [NSString stringWithFormat:@"The email send failed"];
|
|
|
- if (resultStatus == 8) {
|
|
|
|
|
- if ([result valueForKey:@"err_msg"]) {
|
|
|
|
|
|
|
+ if ([result valueForKey:@"err_msg"]) {
|
|
|
msg = [result valueForKey:@"err_msg"];
|
|
msg = [result valueForKey:@"err_msg"];
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
UIAlertController *errorAlertVC = [UIAlertController alertControllerWithTitle:@"Warning" message:msg preferredStyle:UIAlertControllerStyleAlert];
|
|
UIAlertController *errorAlertVC = [UIAlertController alertControllerWithTitle:@"Warning" message:msg preferredStyle:UIAlertControllerStyleAlert];
|
|
|
UIAlertAction *action = [UIAlertAction actionWithTitle:@"ok" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
|
|
UIAlertAction *action = [UIAlertAction actionWithTitle:@"ok" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
|
|
|
|
|
|