Permalink
Browse files

BUG Fix deprecated use of dataFieldByName() in Member_Validator

  • Loading branch information...
1 parent 62adea5 commit 0cce58040abba795ce6b85c02d631ef2c9574c8d @halkyon halkyon committed Oct 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 security/Member.php
View
@@ -1609,7 +1609,7 @@ public function php($data) {
}
if($id && is_object($member) && $member->ID != $id) {
- $uniqueField = $this->form->dataFieldByName($identifierField);
+ $uniqueField = $this->form->Fields()->dataFieldByName($identifierField);
$this->validationError(
$uniqueField->id(),
_t(

0 comments on commit 0cce580

Please sign in to comment.