@@ 875-892 (lines=18) @@ | ||
872 | } |
|
873 | ||
874 | // any errors? |
|
875 | if ($success && ! $att_success) { |
|
876 | EE_Error::add_error( |
|
877 | __( |
|
878 | 'Venue Details saved successfully but something went wrong with saving attachments.', |
|
879 | 'event_espresso' |
|
880 | ), |
|
881 | __FILE__, |
|
882 | __FUNCTION__, |
|
883 | __LINE__ |
|
884 | ); |
|
885 | } elseif ($success === false) { |
|
886 | EE_Error::add_error( |
|
887 | __('Venue Details did not save successfully.', 'event_espresso'), |
|
888 | __FILE__, |
|
889 | __FUNCTION__, |
|
890 | __LINE__ |
|
891 | ); |
|
892 | } |
|
893 | } |
|
894 | ||
895 |
@@ 1055-1072 (lines=18) @@ | ||
1052 | $att_success = ! $att_success ? $att_success : $_success; |
|
1053 | } |
|
1054 | // any errors? |
|
1055 | if ($success && false === $att_success) { |
|
1056 | EE_Error::add_error( |
|
1057 | esc_html__( |
|
1058 | 'Event Details saved successfully but something went wrong with saving attachments.', |
|
1059 | 'event_espresso' |
|
1060 | ), |
|
1061 | __FILE__, |
|
1062 | __FUNCTION__, |
|
1063 | __LINE__ |
|
1064 | ); |
|
1065 | } elseif ($success === false) { |
|
1066 | EE_Error::add_error( |
|
1067 | esc_html__('Event Details did not save successfully.', 'event_espresso'), |
|
1068 | __FILE__, |
|
1069 | __FUNCTION__, |
|
1070 | __LINE__ |
|
1071 | ); |
|
1072 | } |
|
1073 | } |
|
1074 | ||
1075 |