mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: Removed notice-level error after forms w/ required fields are made readonly.
This commit is contained in:
parent
1e1df8c43e
commit
47e037e74c
@ -35,7 +35,7 @@ class RequiredFields extends Validator {
|
||||
* Clears all the validation from this object.
|
||||
*/
|
||||
public function removeValidation(){
|
||||
$this->required = null;
|
||||
$this->required = array();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user