@@ 894-897 (lines=4) @@ | ||
891 | 'email' => give_get_meta( $payment_id, '_give_donor_billing_donor_email', true ), |
|
892 | ); |
|
893 | ||
894 | if ( empty( $donor_info['first_name'] ) ) { |
|
895 | $donor_id = give_get_payment_donor_id( $payment_id ); |
|
896 | $donor_info['first_name'] = Give()->donor_meta->get_meta( $donor_id, '_give_donor_first_name', true ); |
|
897 | } |
|
898 | ||
899 | if ( empty( $donor_info['last_name'] ) ) { |
|
900 | $donor_id = $donor_id ? $donor_id : give_get_payment_donor_id( $payment_id ); |
|
@@ 899-902 (lines=4) @@ | ||
896 | $donor_info['first_name'] = Give()->donor_meta->get_meta( $donor_id, '_give_donor_first_name', true ); |
|
897 | } |
|
898 | ||
899 | if ( empty( $donor_info['last_name'] ) ) { |
|
900 | $donor_id = $donor_id ? $donor_id : give_get_payment_donor_id( $payment_id ); |
|
901 | $donor_info['last_name'] = Give()->donor_meta->get_meta( $donor_id, '_give_donor_last_name', true ); |
|
902 | } |
|
903 | ||
904 | if ( empty( $donor_info['email'] ) ) { |
|
905 | $donor_id = $donor_id ? $donor_id : give_get_payment_donor_id( $payment_id ); |