mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
8a36ab4ed5
commit
65c7a3f0f4
@ -166,7 +166,7 @@ class Member extends DataObject {
|
|||||||
// Merge existing data into the local record
|
// Merge existing data into the local record
|
||||||
|
|
||||||
foreach($existingRecord->getAllFields() as $k => $v) {
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user