@@ 306-308 (lines=3) @@ | ||
303 | if ( $name_and_email ) { |
|
304 | ||
305 | // First name |
|
306 | if ( isset( $donation_data['user_info']['first_name'] ) && ! empty( $donation_data['user_info']['first_name'] ) ) { |
|
307 | $summary .= ' - ' . $donation_data['user_info']['first_name']; |
|
308 | } |
|
309 | ||
310 | if ( isset( $donation_data['user_info']['last_name'] ) && ! empty( $donation_data['user_info']['last_name'] ) ) { |
|
311 | $summary .= ' ' . $donation_data['user_info']['last_name']; |
|
@@ 310-312 (lines=3) @@ | ||
307 | $summary .= ' - ' . $donation_data['user_info']['first_name']; |
|
308 | } |
|
309 | ||
310 | if ( isset( $donation_data['user_info']['last_name'] ) && ! empty( $donation_data['user_info']['last_name'] ) ) { |
|
311 | $summary .= ' ' . $donation_data['user_info']['last_name']; |
|
312 | } |
|
313 | ||
314 | $summary .= ' (' . $donation_data['user_email'] . ')'; |
|
315 | } |