From 65c7a3f0f4ee857d8b8b3678b00b7daff1ab1b4b Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Mon, 13 Aug 2007 22:04:03 +0000 Subject: [PATCH] Fixed php notice git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39936 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 ad4de2833..87450630b 100644 --- a/security/Member.php +++ b/security/Member.php @@ -166,7 +166,7 @@ class Member extends DataObject { // Merge existing data into the local record foreach($existingRecord->getAllFields() as $k => $v) { - if(!$this->changed[$k]) $this->record[$k] = $v; + if(!isset($this->changed[$k]) || !$this->changed[$k]) $this->record[$k] = $v; } } }