mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
elofgren: BUGFIX: In Member->setBlacklistedEmail(bool) call this->write() so that the BlacklistedEmail? field state will be saved to the Member database table.
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42024 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
76797c02a6
commit
f4f6eb0333
@ -309,6 +309,8 @@ class Member extends DataObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->setField("BlacklistedEmail", $val);
|
$this->setField("BlacklistedEmail", $val);
|
||||||
|
// Save the BlacklistedEmail field to the Member table
|
||||||
|
$this->write();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user