mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 15:50:29 -04:00
Correctly update user name when receiving payment
This commit is contained in:
parent
fc0b69176c
commit
f572422d8c
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ class Payment extends PropertiesBase{
|
|||
$user = User::GetByEmail($this->User->Email);
|
||||
|
||||
// User exists, use their data
|
||||
$user->Name = $this->User->Name;
|
||||
$this->User = $user;
|
||||
|
||||
// Update their name in case we have their email (but not name) recorded from a newsletter subscription
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue