mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX: Ticket #2455 - Check variable exists before accessing Password index
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53156 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
0a124ec302
commit
3f50c7a477
@ -449,7 +449,7 @@ class Member extends DataObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(Director::isLive() &&
|
if(Director::isLive() &&
|
||||||
$this->changed['Password'] && $this->record['Password'] &&
|
isset($this->changed['Password']) && $this->changed['Password'] && $this->record['Password'] &&
|
||||||
Member::$notify_password_change) $this->sendInfo('changePassword');
|
Member::$notify_password_change) $this->sendInfo('changePassword');
|
||||||
|
|
||||||
if(isset($this->changed['Password']) && $this->changed['Password']) {
|
if(isset($this->changed['Password']) && $this->changed['Password']) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user