Add on to accepted.
This commit is contained in:
parent
6a69979376
commit
19b01b1d27
|
@ -301,7 +301,7 @@ protected function validate_confirmed($attribute, $value)
|
||||||
*/
|
*/
|
||||||
protected function validate_accepted($attribute, $value)
|
protected function validate_accepted($attribute, $value)
|
||||||
{
|
{
|
||||||
return $this->validate_required($attribute, $value) and ($value == 'yes' or $value == '1');
|
return $this->validate_required($attribute, $value) and ($value == 'yes' or $value == '1' or $value == 'on');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue