Fixed php notice

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39936 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-08-13 22:04:03 +00:00
parent 8a36ab4ed5
commit 65c7a3f0f4
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}
}