Skip to content

Commit

Permalink
Merge pull request #54 from upsellpl/hotfix/PB-1239
Browse files Browse the repository at this point in the history
PB-1239 [Airbrake] [Paid] Undefined array key "user_email"
  • Loading branch information
mbwawpl committed Sep 16, 2024
2 parents 6c2480f + 6593a38 commit 9a1718e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ $RECYCLE.BIN/
build/
tmp/
tests/clover.xml
.buildpath
.settings/

# Grunt
node_modules
Expand Down
1 change: 0 additions & 1 deletion includes/payments/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ function edd_insert_payment( $payment_data = array() ) {
$payment->user_info = $payment_data['user_info'];
$payment->gateway = $gateway;
$payment->user_id = $payment_data['user_info']['id'];
$payment->email = $payment_data['user_email'];
$payment->first_name = $payment_data['user_info']['first_name'];
$payment->last_name = $payment_data['user_info']['last_name'];
$payment->email = $payment_data['user_info']['email'];
Expand Down

0 comments on commit 9a1718e

Please sign in to comment.