|
@@ 266-268 (lines=3) @@
|
| 263 |
|
$this->passwordIsSubmitted = (string)$be_user_data['password'] !== ''; |
| 264 |
|
$passwordIsConfirmed = $this->passwordIsSubmitted && $be_user_data['password'] === $be_user_data['password2']; |
| 265 |
|
// Update the real name: |
| 266 |
|
if ($be_user_data['realName'] !== $this->beUser->user['realName']) { |
| 267 |
|
$this->beUser->user['realName'] = ($storeRec['be_users'][$beUserId]['realName'] = substr($be_user_data['realName'], 0, 80)); |
| 268 |
|
} |
| 269 |
|
// Update the email address: |
| 270 |
|
if ($be_user_data['email'] !== $this->beUser->user['email']) { |
| 271 |
|
$this->beUser->user['email'] = ($storeRec['be_users'][$beUserId]['email'] = substr($be_user_data['email'], 0, 80)); |
|
@@ 270-272 (lines=3) @@
|
| 267 |
|
$this->beUser->user['realName'] = ($storeRec['be_users'][$beUserId]['realName'] = substr($be_user_data['realName'], 0, 80)); |
| 268 |
|
} |
| 269 |
|
// Update the email address: |
| 270 |
|
if ($be_user_data['email'] !== $this->beUser->user['email']) { |
| 271 |
|
$this->beUser->user['email'] = ($storeRec['be_users'][$beUserId]['email'] = substr($be_user_data['email'], 0, 80)); |
| 272 |
|
} |
| 273 |
|
// Update the password: |
| 274 |
|
if ($passwordIsConfirmed) { |
| 275 |
|
if ($this->isAdmin) { |