Skip to content

Commit

Permalink
BUGFIX: Ticket #2455 - Check variable exists before accessing Passwor…
Browse files Browse the repository at this point in the history
…d index

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53153 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
Sean Harvey authored and Sam Minnee committed Feb 2, 2011
1 parent 9bc560b commit ac17587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/Member.php
Expand Up @@ -450,7 +450,7 @@ function onBeforeWrite() {
}

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');

if(isset($this->changed['Password']) && $this->changed['Password']) {
Expand Down

0 comments on commit ac17587

Please sign in to comment.