From 3f50c7a477eafafcf624934d5a64e505158a77ea Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Mon, 21 Apr 2008 23:57:04 +0000 Subject: [PATCH] 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 --- security/Member.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/Member.php b/security/Member.php index 02e85e9b8..9a746dd7b 100644 --- a/security/Member.php +++ b/security/Member.php @@ -449,7 +449,7 @@ class Member extends DataObject { } 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']) {