Commit 19b01b1d by Taylor Otwell

Add on to accepted.

parent 6a699793
......@@ -301,7 +301,7 @@ class Validator {
*/
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');
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment